IReferenceInfo.GetUrl(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.
Gets the URL of the document.
public:
int GetUrl([Runtime::InteropServices::Out] System::String ^ % ppbstrUrl);
int GetUrl([Runtime::InteropServices::Out] std::wstring const & & ppbstrUrl);
public int GetUrl (out string ppbstrUrl);
abstract member GetUrl : string -> int
Public Function GetUrl (ByRef ppbstrUrl As String) As Integer
Parameters
- ppbstrUrl
- String
[out] Pointer to a string containing the URL of the discovered document.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From discoveryservice.idl:
HRESULT IReferenceInfo::GetUrl(
[out, retval] BSTR* ppbstrUrl
);