Expand Minimize
This topic has not yet been rated - Rate this topic

VsTextBufferClass.GetLengthOfLine Method

Returns the length of a line in the buffer.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
public virtual int GetLengthOfLine(
	int iLine,
	out int piLength
)

Parameters

iLine
Type: Int32

[in] Number of the line whose length is requested.

piLength
Type: Int32

[out] Pointer to the length of the line.

Return Value

Type: Int32
If the method succeeds, returns S_OK; otherwise, returns an error code.

Implements

IVsTextBuffer.GetLengthOfLine(Int32, Int32)
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.