Partilhar via


Método IDiscoveryResult.GetUrl (String)

 

Publicado: abril de 2016

Retorna o URL do XML Web service.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (em Microsoft.VisualStudio.Shell.Interop.dll)

Sintaxe

int GetUrl(
    out string pbstrURL
)
int GetUrl(
    [OutAttribute] String^% pbstrURL
)
abstract GetUrl : 
        pbstrURL:string byref -> int
Function GetUrl (
    <OutAttribute> ByRef pbstrURL As String
) As Integer

Parâmetros

  • pbstrURL
    [out] Ponteiro para uma seqüência de caracteres que contém o URL.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De discoveryservice.idl:

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

Consulte também

Interface IDiscoveryResult
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo