VsTextBufferClass.IVsTextLines_GetLineCount(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the number of lines in the buffer.
public:
virtual int IVsTextLines_GetLineCount([Runtime::InteropServices::Out] int % piLineCount) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::GetLineCount;
public:
virtual int IVsTextLines_GetLineCount([Runtime::InteropServices::Out] int % piLineCount);
virtual int IVsTextLines_GetLineCount([Runtime::InteropServices::Out] int & piLineCount);
public virtual int IVsTextLines_GetLineCount (out int piLineCount);
abstract member IVsTextLines_GetLineCount : int -> int
override this.IVsTextLines_GetLineCount : int -> int
Public Overridable Function IVsTextLines_GetLineCount (ByRef piLineCount As Integer) As Integer
Parameters
- piLineCount
- Int32
[out] Pointer to the number of lines in the buffer.
Returns
If the method succeeds, returns S_OK; otherwise, returns an error code.