VsTextBufferClass.IVsTextLines_GetLastLineIndex(Int32, Int32) Method

Definition

Returns the last line in the text buffer.

public:
 virtual int IVsTextLines_GetLastLineIndex([Runtime::InteropServices::Out] int % piLine, [Runtime::InteropServices::Out] int % piIndex) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::GetLastLineIndex;
public:
 virtual int IVsTextLines_GetLastLineIndex([Runtime::InteropServices::Out] int % piLine, [Runtime::InteropServices::Out] int % piIndex);
 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

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.

Applies to