Partilhar via


Método IReferenceInfo.GetUrl (String)

 

Publicado: abril de 2016

Obtém a URL do documento.

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

Sintaxe

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

Parâmetros

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

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 IReferenceInfo::GetUrl(
   [out, retval] BSTR* ppbstrUrl
);

Consulte também

Interface IReferenceInfo
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo