IVsTextLayer::GetLineCount Method (Int32)

 

Returns the number of lines.

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

int GetLineCount(
	[OutAttribute] int% piLineCount
)

Parameters

piLineCount
Type: System::Int32

[out] Count of lines.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextLayer::GetLineCount(
   [out] long *piLineCount
);
Return to top
Show: