VsTextLineStorageClass.Storage_GetLengthOfLine(Int32, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.