次の方法で共有


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

'宣言
Function IsMappedLocation ( _
    pBuffer As IVsTextBuffer, _
    iLine As Integer, _
    iCol As Integer _
) As Integer
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

  • 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

See Also

Reference

IVsLanguageDebugInfo Interface

Microsoft.VisualStudio.TextManager.Interop Namespace