Partager via


VsTextImageClass.GetLineSize(Int32) Method

Definition

Returns the number of lines in the text image.

public:
 virtual int GetLineSize([Runtime::InteropServices::Out] int % pcLines) = Microsoft::VisualStudio::TextManager::Interop::IVsTextImage::GetLineSize;
public:
 virtual int GetLineSize([Runtime::InteropServices::Out] int % pcLines);
 virtual int GetLineSize([Runtime::InteropServices::Out] int & pcLines);
public virtual int GetLineSize (out int pcLines);
abstract member GetLineSize : int -> int
override this.GetLineSize : int -> int
Public Overridable Function GetLineSize (ByRef pcLines As Integer) As Integer

Parameters

pcLines
Int32

[out] Pointer to a count of lines in the text image.

Returns

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

Implements

Applies to