IVsTextLayer::GetLengthOfLine Method (Int32, Int32)
Visual Studio 2015
Returns the length of a line.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Parameters
- iLine
-
Type:
System::Int32
[in] Line of interest.
- piLength
-
Type:
System::Int32
[out] Length of the line.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
HRESULT IVsTextLayer::GetLengthOfLine( [in] long iLine, [out] long *piLength );
Show: