Partilhar via


Método IVsTextTrackingPoint.GetCurrentLineIndex

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

Sintaxe

'Declaração
Function GetCurrentLineIndex ( _
    <OutAttribute> ByRef piLine As Integer, _
    <OutAttribute> ByRef piIndex As Integer _
) As Integer
int GetCurrentLineIndex(
    out int piLine,
    out int piIndex
)
int GetCurrentLineIndex(
    [OutAttribute] int% piLine, 
    [OutAttribute] int% piIndex
)
abstract GetCurrentLineIndex : 
        piLine:int byref * 
        piIndex:int byref -> int
function GetCurrentLineIndex(
    piLine : int, 
    piIndex : int
) : int

Parâmetros

  • piLine
    Tipo: Int32%

    [out]

  • piIndex
    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.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextTrackingPoint::GetCurrentLineIndex(

   [out] long *piLine,

   [out] long *piIndex

);

Segurança do .NET Framework

Consulte também

Referência

IVsTextTrackingPoint Interface

Namespace Microsoft.VisualStudio.TextManager.Interop