IVsLanguageDebugInfo.IsMappedLocation(IVsTextBuffer, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether the location contains code that is mapped to another document, for example, client-side script code.
public:
int IsMappedLocation(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, int iLine, int iCol);
public:
int IsMappedLocation(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer ^ pBuffer, int iLine, int iCol);
int IsMappedLocation(Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer const & pBuffer, int iLine, int iCol);
public int IsMappedLocation (Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer pBuffer, int iLine, int iCol);
abstract member IsMappedLocation : Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer * int * int -> int
Public Function IsMappedLocation (pBuffer As IVsTextBuffer, iLine As Integer, iCol As Integer) As Integer
Parameters
- pBuffer
- IVsTextBuffer
[in] The IVsTextBuffer interface that contains the location in question.
- iLine
- Int32
[in] Integer containing the line index.
- iCol
- Int32
[in] Integer containing the column index.
Returns
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.
Remarks
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.