返回位置是否包含映射到另一个文档,例如,客户端脚本代码的代码。
命名空间: 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
参数
pBuffer
类型:Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer[in] 包含相关的位置 IVsTextBuffer 接口。
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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。