Partager via


IVsLanguageDebugInfo.IsMappedLocation(IVsTextBuffer, Int32, Int32) Method

Definition

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.

Applies to