Partilhar via


Método IVsTextLayer.LocalLineIndexToBase

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

Sintaxe

'Declaração
Function LocalLineIndexToBase ( _
    iLocalLine As Integer, _
    iLocalIndex As Integer, _
    <OutAttribute> ByRef piBaseLine As Integer, _
    <OutAttribute> ByRef piBaseIndex As Integer _
) As Integer
int LocalLineIndexToBase(
    int iLocalLine,
    int iLocalIndex,
    out int piBaseLine,
    out int piBaseIndex
)
int LocalLineIndexToBase(
    [InAttribute] int iLocalLine, 
    [InAttribute] int iLocalIndex, 
    [OutAttribute] int% piBaseLine, 
    [OutAttribute] int% piBaseIndex
)
abstract LocalLineIndexToBase : 
        iLocalLine:int * 
        iLocalIndex:int * 
        piBaseLine:int byref * 
        piBaseIndex:int byref -> int
function LocalLineIndexToBase(
    iLocalLine : int, 
    iLocalIndex : int, 
    piBaseLine : int, 
    piBaseIndex : int
) : int

Parâmetros

  • iLocalLine
    Tipo: Int32

    [in]

  • iLocalIndex
    Tipo: Int32

    [in]

  • piBaseLine
    Tipo: Int32%

    [out]

  • piBaseIndex
    Tipo: Int32%

    [out]

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.Retorna VIEW_E_LOCATION_HIDDEN se as coordenadas solicitado existe, mas estão ocultos na interface de usuário no momento

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextLayer::LocalLineIndexToBase(
   [in] long iLocalLine,
   [in] CharIndex iLocalIndex,
   [out] long *piBaseLine,
   [out] CharIndex *piBaseIndex
);

Segurança do .NET Framework

Consulte também

Referência

IVsTextLayer Interface

Namespace Microsoft.VisualStudio.TextManager.Interop