Export (0) Print
Expand All

IVsLanguageDebugInfo.IsMappedLocation Method

Returns whether the location contains code that is mapped to another document, for example, client-side script code.

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

int IsMappedLocation(
	IVsTextBuffer pBuffer,
	int iLine,
	int iCol
)

Parameters

pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer

[in] The IVsTextBuffer interface that contains the location in question.

iLine
Type: System.Int32

[in] Integer containing the line index.

iCol
Type: System.Int32

[in] Integer containing the column index.

Return Value

Type: System.Int32
If the method succeeds, returns S_OK indicating the location contains mapped code. If the location does not contain mapped code, returns S_FALSE. Otherwise, returns an error code.

COM Signature

From textmgr.idl:

HRESULT IVsLanguageDebugInfo::IsMappedLocation(
   [in] IVsTextBuffer *pBuffer, 
   [in] long iLine, 
   [in] long iCol
);

Return whether the location contains code that is mapped to another document, for example client-side script code.

Show:
© 2015 Microsoft