Compartilhar via


VsTextBufferClass.GetLastLineIndex(Int32, Int32) Method

Definition

Returns the last line in the text buffer.

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

Parameters

piLine
Int32

[out] Pointer to the last line in the text buffer.

piIndex
Int32

[out] Pointer to the index number of piLine

Returns

If the method succeeds, returns S_OK; otherwise, returns an error code.

Implements

Applies to