Поделиться через


IVsTextLayer.LocalLineIndexToDeeperLayer - метод

Пространство имен:  Microsoft.VisualStudio.TextManager.Interop
Сборка:  Microsoft.VisualStudio.TextManager.Interop (в Microsoft.VisualStudio.TextManager.Interop.dll)

Синтаксис

'Декларация
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

Параметры

  • iLocalLine
    Тип: Int32

    [in]

  • iLocalIndex
    Тип: Int32

    [in]

  • piTargetLine
    Тип: Int32%

    [out]

  • piTargetIndex
    Тип: Int32%

    [out]

Возвращаемое значение

Тип: Int32
Если метод завершается успешно, возвращается S_OK.Если происходит сбой, возвращается код ошибки.

Заметки

Модель COM подписи

Из textmgr.idl:

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

Безопасность платформы .NET Framework

См. также

Ссылки

IVsTextLayer Интерфейс

Microsoft.VisualStudio.TextManager.Interop - пространство имен