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.
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
'Usage
Dim instance As IVsDebugName
Dim pbstrMkDoc As String
Dim pspanLocation As TextSpan()
Dim returnValue As Integer
returnValue = instance.GetLocation(pbstrMkDoc, _
pspanLocation)
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]
- pspanLocation
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
[out]
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.