IDiscoveryClientResult.GetUrl Method

Returns the URL of the referenced document in the discovery document.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣言
Function GetUrl ( _
    <OutAttribute> ByRef pbstrUrl As String _
) As Integer
'使用
Dim instance As IDiscoveryClientResult
Dim pbstrUrl As String
Dim returnValue As Integer

returnValue = instance.GetUrl(pbstrUrl)
int GetUrl(
    out string pbstrUrl
)
int GetUrl(
    [OutAttribute] String^% pbstrUrl
)
function GetUrl(
    pbstrUrl : String
) : int

Parameters

  • pbstrUrl
    Type: System.String%

    [out] Pointer to the string containing the URL of the document referenced in the discovery document.

Return Value

Type: System.Int32

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

Remarks

COM Signature

From designer.idl:

HRESULT IDiscoveryClientResult::GetUrl(
   [out, retval] BSTR * pbstrUrl
);

Permissions

See Also

Reference

IDiscoveryClientResult Interface

IDiscoveryClientResult Members

Microsoft.VisualStudio.Shell.Interop Namespace