共用方式為


IReferenceInfo.GetUrl(String) Method

Definition

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  
);  

Applies to