VsTextLineStorageClass.Storage_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.
Gets the length of the specified line.
public:
virtual int Storage_GetLengthOfLine(int iLine, [Runtime::InteropServices::Out] int % piLength) = Microsoft::VisualStudio::TextManager::Interop::IVsTextStorage::Storage_GetLengthOfLine;
public:
virtual int Storage_GetLengthOfLine(int iLine, [Runtime::InteropServices::Out] int % piLength);
virtual int Storage_GetLengthOfLine(int iLine, [Runtime::InteropServices::Out] int & piLength);
public virtual int Storage_GetLengthOfLine (int iLine, out int piLength);
abstract member Storage_GetLengthOfLine : int * int -> int
override this.Storage_GetLengthOfLine : int * int -> int
Public Overridable Function Storage_GetLengthOfLine (iLine As Integer, ByRef piLength As Integer) As Integer
Parameters
- iLine
- Int32
[in] Index of line of interest.
- piLength
- Int32
[out] Length of line.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.