IDiscoveryClientResult.GetFileName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);