IVsLanguageDebugInfo.IsMappedLocation 方法

返回位置是否包含映射到另一个文档,例如,客户端脚本代码的代码。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
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

参数

  • iLine
    类型:Int32

    [in] 包含行索引的整数。

  • iCol
    类型:Int32

    [in] 包含列索引的整数。

返回值

类型:Int32
如果方法成功,则返回指示的位置 S_OK 包含映射的代码。如果此位置未包含映射的代码,返回 S_FALSE。否则,返回错误代码。

备注

COM 签名

从 textmgr.idl:

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

返回位置是否包含映射到另一个文档,例如客户端脚本代码的代码。

.NET Framework 安全性

请参阅

参考

IVsLanguageDebugInfo 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间