VsTextBufferClass.GetLineCount(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.
Retourne le nombre de lignes dans la mémoire tampon.
public:
virtual int GetLineCount([Runtime::InteropServices::Out] int % piLineCount) = Microsoft::VisualStudio::TextManager::Interop::IVsTextBuffer::GetLineCount;
virtual int GetLineCount([Runtime::InteropServices::Out] int & piLineCount);
public virtual int GetLineCount (out int piLineCount);
abstract member GetLineCount : int -> int
override this.GetLineCount : int -> int
Public Overridable Function GetLineCount (ByRef piLineCount As Integer) As Integer
Paramètres
- piLineCount
- Int32
[out] Pointeur vers le nombre de lignes de la mémoire tampon.
Retours
Si la méthode est réussie, retourne S_OK ; sinon, retourne un code d’erreur.