Condividi tramite


Metodo VsTextBufferClass.GetLengthOfLine

Restituisce la lunghezza di una riga nel buffer.

Spazio dei nomi:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Sintassi

'Dichiarazione
Public Overridable Function GetLengthOfLine ( _
    iLine As Integer, _
    <OutAttribute> ByRef piLength As Integer _
) As Integer
public virtual int GetLengthOfLine(
    int iLine,
    out int piLength
)
public:
virtual int GetLengthOfLine(
    [InAttribute] int iLine, 
    [OutAttribute] int% piLength
)
abstract GetLengthOfLine : 
        iLine:int * 
        piLength:int byref -> int  
override GetLengthOfLine : 
        iLine:int * 
        piLength:int byref -> int
public function GetLengthOfLine(
    iLine : int, 
    piLength : int
) : int

Parametri

  • iLine
    Tipo: Int32

    [in] Numero della riga della cui lunghezza è richiesta.

  • piLength
    Tipo: Int32%

    [out] Puntatore alla lunghezza della riga.

Valore restituito

Tipo: Int32

Implementa

IVsTextBuffer.GetLengthOfLine(Int32, Int32%)

Sicurezza di .NET Framework

Vedere anche

Riferimenti

VsTextBufferClass Classe

Spazio dei nomi Microsoft.VisualStudio.TextManager.Interop