Partager via


IVsTextLayer.LocalLineIndexToDeeperLayer, méthode

Espace de noms :  Microsoft.VisualStudio.TextManager.Interop
Assembly :  Microsoft.VisualStudio.TextManager.Interop (dans Microsoft.VisualStudio.TextManager.Interop.dll)

Syntaxe

'Déclaration
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

Paramètres

  • iLocalLine
    Type : Int32

    [in]

  • iLocalIndex
    Type : Int32

    [in]

  • piTargetLine
    Type : Int32%

    [out]

  • piTargetIndex
    Type : Int32%

    [out]

Valeur de retour

Type : Int32
Si la méthode réussit, elle retourne S_OK.En cas d'échec, un code d'erreur est retourné.

Notes

Signature de COM

De textmgr.idl :

HRESULT IVsTextLayer::LocalLineIndexToDeeperLayer(
   [in] IVsTextLayer *pTargetLayer,
   [in] long iLocalLine,
   [in] CharIndex iLocalIndex,
   [out] long *piTargetLine,
   [out] CharIndex *piTargetIndex
);

Sécurité .NET Framework

Voir aussi

Référence

IVsTextLayer Interface

Microsoft.VisualStudio.TextManager.Interop, espace de noms