Freigeben über


IVsTextLayer.DeeperLayerLineIndexToLocal Method

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
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
'Usage
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

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

See Also

Reference

IVsTextLayer Interface

IVsTextLayer Members

Microsoft.VisualStudio.TextManager.Interop Namespace