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
)
abstract GetUrl : 
        pbstrUrl:string byref -> int 
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
);

.NET Framework Security

See Also

Reference

IDiscoveryClientResult Interface

IDiscoveryClientResult Members

Microsoft.VisualStudio.Shell.Interop Namespace