IVsTextLayer.LocalLineIndexToDeeperLayer 方法
命名空間: Microsoft.VisualStudio.TextManager.Interop
組件: Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)
語法
'宣告
Function LocalLineIndexToDeeperLayer ( _
pTargetLayer As IVsTextLayer, _
iLocalLine As Integer, _
iLocalIndex As Integer, _
<OutAttribute> ByRef piTargetLine As Integer, _
<OutAttribute> ByRef piTargetIndex As Integer _
) As Integer
int LocalLineIndexToDeeperLayer(
IVsTextLayer pTargetLayer,
int iLocalLine,
int iLocalIndex,
out int piTargetLine,
out int piTargetIndex
)
int LocalLineIndexToDeeperLayer(
[InAttribute] IVsTextLayer^ pTargetLayer,
[InAttribute] int iLocalLine,
[InAttribute] int iLocalIndex,
[OutAttribute] int% piTargetLine,
[OutAttribute] int% piTargetIndex
)
abstract LocalLineIndexToDeeperLayer :
pTargetLayer:IVsTextLayer *
iLocalLine:int *
iLocalIndex:int *
piTargetLine:int byref *
piTargetIndex:int byref -> int
function LocalLineIndexToDeeperLayer(
pTargetLayer : IVsTextLayer,
iLocalLine : int,
iLocalIndex : int,
piTargetLine : int,
piTargetIndex : int
) : int
參數
pTargetLayer
類型:Microsoft.VisualStudio.TextManager.Interop.IVsTextLayer[in]
iLocalLine
類型:Int32[in]
iLocalIndex
類型:Int32[in]
piTargetLine
類型:Int32%[out]
piTargetIndex
類型:Int32%[out]
傳回值
類型:Int32
如果此方法將會成功,則會傳回S_OK。如果失敗,它就會傳回錯誤碼。
備註
COM 簽章
從 textmgr.idl:
HRESULT IVsTextLayer::LocalLineIndexToDeeperLayer(
[in] IVsTextLayer *pTargetLayer,
[in] long iLocalLine,
[in] CharIndex iLocalIndex,
[out] long *piTargetLine,
[out] CharIndex *piTargetIndex
);
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。