IVsDebugName::GetLocation Method (String^, array<TextSpan>^)

 

Gets the breakpoint location.

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

int GetLocation(
	[OutAttribute] String^% pbstrMkDoc,
	array<TextSpan>^ pspanLocation
)

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.

From textmgr.idl:

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