共用方式為


VsTextLineStorageClass.Storage_GetLengthOfLine(Int32, Int32) Method

Definition

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.

Implements

Applies to