VsTextBufferClass.GetLengthOfLine(Int32, Int32) Méthode

Définition

Retourne la longueur d'une ligne de la mémoire tampon.

public:
 virtual int GetLengthOfLine(int iLine, [Runtime::InteropServices::Out] int % piLength) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::GetLengthOfLine;
 virtual int GetLengthOfLine(int iLine, [Runtime::InteropServices::Out] int & piLength);
public virtual int GetLengthOfLine (int iLine, out int piLength);
abstract member GetLengthOfLine : int * int -> int
override this.GetLengthOfLine : int * int -> int
Public Overridable Function GetLengthOfLine (iLine As Integer, ByRef piLength As Integer) As Integer

Paramètres

iLine
Int32

[in] Numéro de la ligne dont la longueur est demandée.

piLength
Int32

[out] Pointeur vers la longueur de la ligne.

Retours

Int32

Si la méthode est réussie, retourne S_OK ; sinon, retourne un code d’erreur.

Implémente

S’applique à