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)
Syntax
'Dichiarazione
Function IsMappedLocation ( _
pBuffer As IVsTextBuffer, _
iLine As Integer, _
iCol As Integer _
) As Integer
'Utilizzo
Dim instance As IVsLanguageDebugInfo
Dim pBuffer As IVsTextBuffer
Dim iLine As Integer
Dim iCol As Integer
Dim returnValue As Integer
returnValue = instance.IsMappedLocation(pBuffer, _
iLine, iCol)
int IsMappedLocation(
IVsTextBuffer pBuffer,
int iLine,
int iCol
)
int IsMappedLocation(
[InAttribute] IVsTextBuffer^ pBuffer,
[InAttribute] int iLine,
[InAttribute] int iCol
)
abstract IsMappedLocation :
pBuffer:IVsTextBuffer *
iLine:int *
iCol:int -> int
function IsMappedLocation(
pBuffer : IVsTextBuffer,
iLine : int,
iCol : int
) : int
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.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.