IVsTextLayer.GetLengthOfLine(Int32, 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 length of a line.
public:
int GetLengthOfLine(int iLine, [Runtime::InteropServices::Out] int % piLength);
int GetLengthOfLine(int iLine, [Runtime::InteropServices::Out] int & piLength);
public int GetLengthOfLine (int iLine, out int piLength);
abstract member GetLengthOfLine : int * int -> int
Public Function GetLengthOfLine (iLine As Integer, ByRef piLength As Integer) As Integer
Parameters
- iLine
- Int32
[in] Line of interest.
- piLength
- Int32
[out] Length of the line.
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::GetLengthOfLine(
[in] long iLine,
[out] long *piLength
);