Partilhar via


Método IVsDebugName.GetLocation

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

Sintaxe

'Declaração
Function GetLocation ( _
    <OutAttribute> ByRef pbstrMkDoc As String, _
    <OutAttribute> pspanLocation As TextSpan() _
) As Integer
int GetLocation(
    out string pbstrMkDoc,
    TextSpan[] pspanLocation
)
int GetLocation(
    [OutAttribute] String^% pbstrMkDoc, 
    [OutAttribute] array<TextSpan>^ pspanLocation
)
abstract GetLocation : 
        pbstrMkDoc:string byref * 
        pspanLocation:TextSpan[] byref -> int
function GetLocation(
    pbstrMkDoc : String, 
    pspanLocation : TextSpan[]
) : int

Parâmetros

  • pbstrMkDoc
    Tipo: String%

    [out]

Valor de retorno

Tipo: 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 textmgr.idl:

HRESULT IVsDebugName::GetLocation(
   [out] BSTR *pbstrMkDoc,
   [out] TextSpan *pspanLocation
);

Segurança do .NET Framework

Consulte também

Referência

IVsDebugName Interface

Namespace Microsoft.VisualStudio.TextManager.Interop