VsTextLineStorageClass.Storage_GetLengthOfLine(Int32, Int32) Méthode

Définition

Obtient la longueur de la ligne spécifiée.

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

Paramètres

iLine
Int32

[in] Index de la ligne concernée.

piLength
Int32

[out] Longueur de ligne.

Retours

Int32

Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.

Implémente

S’applique à