IVsTextLayer.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.
public:
int GetLineCount([Runtime::InteropServices::Out] int % piLineCount);
int GetLineCount([Runtime::InteropServices::Out] int & piLineCount);
public int GetLineCount (out int piLineCount);
abstract member GetLineCount : int -> int
Public Function GetLineCount (ByRef piLineCount As Integer) As Integer
Parameters
- piLineCount
- Int32
[out] Count of lines.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextLayer::GetLineCount(
[out] long *piLineCount
);