命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
语法
声明
Function DeeperLayerLineIndexToLocal ( _
dwFlags As UInteger, _
pTargetLayer As IVsTextLayer, _
iLayerLine As Integer, _
iLayerIndex As Integer, _
<OutAttribute> ByRef piLocalLine As Integer, _
<OutAttribute> ByRef piLocalIndex As Integer _
) As Integer
int DeeperLayerLineIndexToLocal(
uint dwFlags,
IVsTextLayer pTargetLayer,
int iLayerLine,
int iLayerIndex,
out int piLocalLine,
out int piLocalIndex
)
int DeeperLayerLineIndexToLocal(
[InAttribute] unsigned int dwFlags,
[InAttribute] IVsTextLayer^ pTargetLayer,
[InAttribute] int iLayerLine,
[InAttribute] int iLayerIndex,
[OutAttribute] int% piLocalLine,
[OutAttribute] int% piLocalIndex
)
abstract DeeperLayerLineIndexToLocal :
dwFlags:uint32 *
pTargetLayer:IVsTextLayer *
iLayerLine:int *
iLayerIndex:int *
piLocalLine:int byref *
piLocalIndex:int byref -> int
function DeeperLayerLineIndexToLocal(
dwFlags : uint,
pTargetLayer : IVsTextLayer,
iLayerLine : int,
iLayerIndex : int,
piLocalLine : int,
piLocalIndex : int
) : int
参数
dwFlags
类型:UInt32[in] DeeperLayerLineIndexToLocalFlags 枚举的 O 环。
pTargetLayer
类型:Microsoft.VisualStudio.TextManager.Interop.IVsTextLayer[in]
iLayerLine
类型:Int32[in]
iLayerIndex
类型:Int32[in]
piLocalLine
类型:Int32%[out]
piLocalIndex
类型:Int32%[out]
返回值
类型:Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。
备注
COM 签名
从 textmgr.idl:
HRESULT IVsTextLayer::DeeperLayerLineIndexToLocal(
[in] DWORD dwFlags,
[in] IVsTextLayer *pTargetLayer,
[in] long iLayerLine,
[in] CharIndex iLayerIndex,
[out] long *piLocalLine,
[out] CharIndex *piLocalIndex
);
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。