Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets the breakpoint location.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
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
- pbstrMkDoc
Type: System.String%
[out] The document moniker.
- pspanLocation
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
[out] The location of the text span.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.