IVsTextStorage::Storage_GetLengthOfLine Method (Int32, Int32)

 

Gets the length of the specified line.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int Storage_GetLengthOfLine(
	int iLine,
	[OutAttribute] int% piLength
)

Parameters

iLine
Type: System::Int32

[in] Index of line of interest.

piLength
Type: System::Int32

[out] Length of line.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextStorage::Storage_GetLengthOfLine(
   [in] long iLine,
   [out] long *piLength
);
Return to top
Show: