VsTextBufferClass::IVsTextLines_GetLengthOfLine Method (Int32, Int32)
Visual Studio 2015
Returns the length of a line in the buffer.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public: virtual int IVsTextLines_GetLengthOfLine( int iLine, [OutAttribute] int% piLength )
Parameters
- iLine
-
Type:
System::Int32
[in] Number of the line whose length is requested.
- piLength
-
Type:
System::Int32
[out] Pointer to the length of the line.
Return Value
Type: System::Int32If the method succeeds, returns S_OK; otherwise, returns an error code.
Show: