IVsTextLayer.LocalLineIndexToDeeperLayer Method
Converts local line coordinates to deeper layer line coordinates.
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
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] The targeted deeper layer.
- iLocalLine
Type: System.Int32
[in] The local line.
- iLocalIndex
Type: System.Int32
[in] The local line character index.
- piTargetLine
Type: System.Int32%
[out] The target deeper layer line.
- piTargetIndex
Type: System.Int32%
[out] The targeted deeper layer line character index.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code. The method returns VIEW_E_LOCATION_HIDDEN indicating that the coordinates you requested exist, but are hidden in the UI at present. The method returns E_INVALIDARG to indicate bad input parameters.
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.