다음을 통해 공유


IVsDebugName.GetLocation(String, TextSpan[]) Method

Definition

Gets the breakpoint location.

public:
 int GetLocation([Runtime::InteropServices::Out] System::String ^ % pbstrMkDoc, cli::array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> ^ pspanLocation);
int GetLocation([Runtime::InteropServices::Out] std::wstring const & & pbstrMkDoc, std::Array <Microsoft::VisualStudio::TextManager::Interop::TextSpan> const & pspanLocation);
public int GetLocation (out string pbstrMkDoc, Microsoft.VisualStudio.TextManager.Interop.TextSpan[] pspanLocation);
abstract member GetLocation : string * Microsoft.VisualStudio.TextManager.Interop.TextSpan[] -> int
Public Function GetLocation (ByRef pbstrMkDoc As String, pspanLocation As TextSpan()) As Integer

Parameters

pbstrMkDoc
String

[out] The document moniker.

pspanLocation
TextSpan[]

[out] The location of the text span.

Returns

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  
);  

Applies to