VsTextBufferClass::IVsTextLines_GetLineCount Method (Int32)

 

Returns the number of lines in the buffer.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

public:
virtual int IVsTextLines_GetLineCount(
	[OutAttribute] int% piLineCount
)

Parameters

piLineCount
Type: System::Int32

[out] Pointer to the number of lines in the buffer.

Return Value

Type: System::Int32

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

Return to top
Show: