VsTextBufferClass.IVsTextLines_GetLastLineIndex(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.
Retourne la dernière ligne de la mémoire tampon de texte.
public:
virtual int IVsTextLines_GetLastLineIndex([Runtime::InteropServices::Out] int % piLine, [Runtime::InteropServices::Out] int % piIndex) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::GetLastLineIndex;
virtual int IVsTextLines_GetLastLineIndex([Runtime::InteropServices::Out] int & piLine, [Runtime::InteropServices::Out] int & piIndex);
public virtual int IVsTextLines_GetLastLineIndex (out int piLine, out int piIndex);
abstract member IVsTextLines_GetLastLineIndex : int * int -> int
override this.IVsTextLines_GetLastLineIndex : int * int -> int
Public Overridable Function IVsTextLines_GetLastLineIndex (ByRef piLine As Integer, ByRef piIndex As Integer) As Integer
Paramètres
- piLine
- Int32
[out] Pointeur vers la dernière ligne de la mémoire tampon de texte.
- piIndex
- Int32
à Pointeur vers le numéro d’index de piLine
Retours
Si la méthode est réussie, retourne S_OK ; sinon, retourne un code d’erreur.