Compartilhar via


IVsDebugName.GetLocation Method

Gets the breakpoint location.

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

Syntax

'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

Parameters

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

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

.NET Framework Security

See Also

Reference

IVsDebugName Interface

Microsoft.VisualStudio.TextManager.Interop Namespace