IVsTextLayer.DeeperLayerLineIndexToLocal Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Déclaration
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
'Utilisation
Dim instance As IVsTextLayer
Dim dwFlags As UInteger
Dim pTargetLayer As IVsTextLayer
Dim iLayerLine As Integer
Dim iLayerIndex As Integer
Dim piLocalLine As Integer
Dim piLocalIndex As Integer
Dim returnValue As Integer
returnValue = instance.DeeperLayerLineIndexToLocal(dwFlags, _
pTargetLayer, iLayerLine, iLayerIndex, _
piLocalLine, piLocalIndex)
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
Parameters
- dwFlags
Type: System.UInt32
[in] ORing of the DeeperLayerLineIndexToLocalFlags enumeration.
- pTargetLayer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLayer
[in]
- iLayerLine
Type: System.Int32
[in]
- iLayerIndex
Type: System.Int32
[in]
- piLocalLine
Type: System.Int32%
[out]
- piLocalIndex
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::DeeperLayerLineIndexToLocal(
[in] DWORD dwFlags,
[in] IVsTextLayer *pTargetLayer,
[in] long iLayerLine,
[in] CharIndex iLayerIndex,
[out] long *piLocalLine,
[out] CharIndex *piLocalIndex
);
.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.