Partager via


IDiscoveryClientResult.GetFileName(String) Method

Definition

Returns the filename of the discovery document.

public:
 int GetFileName([Runtime::InteropServices::Out] System::String ^ % pbstrFilename);
int GetFileName([Runtime::InteropServices::Out] std::wstring const & & pbstrFilename);
public int GetFileName (out string pbstrFilename);
abstract member GetFileName : string -> int
Public Function GetFileName (ByRef pbstrFilename As String) As Integer

Parameters

pbstrFilename
String

[out] Pointer to a string containing the filename of the document.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From designer.idl:

HRESULT IDiscoveryClientResult::GetFileName(  
   [out, retval] BSTR * pbstrFilename  
);  

Applies to