IVsTextLayer.LocalLineIndexToDeeperLayer Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
‘선언
Function LocalLineIndexToDeeperLayer ( _
pTargetLayer As IVsTextLayer, _
iLocalLine As Integer, _
iLocalIndex As Integer, _
<OutAttribute> ByRef piTargetLine As Integer, _
<OutAttribute> ByRef piTargetIndex As Integer _
) As Integer
‘사용 방법
Dim instance As IVsTextLayer
Dim pTargetLayer As IVsTextLayer
Dim iLocalLine As Integer
Dim iLocalIndex As Integer
Dim piTargetLine As Integer
Dim piTargetIndex As Integer
Dim returnValue As Integer
returnValue = instance.LocalLineIndexToDeeperLayer(pTargetLayer, _
iLocalLine, iLocalIndex, piTargetLine, _
piTargetIndex)
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
Parameters
- pTargetLayer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLayer
[in]
- iLocalLine
Type: System.Int32
[in]
- iLocalIndex
Type: System.Int32
[in]
- piTargetLine
Type: System.Int32%
[out]
- piTargetIndex
Type: System.Int32%
[out]
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextLayer::LocalLineIndexToDeeperLayer(
[in] IVsTextLayer *pTargetLayer,
[in] long iLocalLine,
[in] CharIndex iLocalIndex,
[out] long *piTargetLine,
[out] CharIndex *piTargetIndex
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.