VsTextBufferClass.IVsTextLines_GetLengthOfLine(Int32, Int32) Método

Definição

Retorna o comprimento de uma linha no buffer.

public:
 virtual int IVsTextLines_GetLengthOfLine(int iLine, [Runtime::InteropServices::Out] int % piLength) = Microsoft::VisualStudio::TextManager::Interop::IVsTextLines::GetLengthOfLine;
 virtual int IVsTextLines_GetLengthOfLine(int iLine, [Runtime::InteropServices::Out] int & piLength);
public virtual int IVsTextLines_GetLengthOfLine (int iLine, out int piLength);
abstract member IVsTextLines_GetLengthOfLine : int * int -> int
override this.IVsTextLines_GetLengthOfLine : int * int -> int
Public Overridable Function IVsTextLines_GetLengthOfLine (iLine As Integer, ByRef piLength As Integer) As Integer

Parâmetros

iLine
Int32

no Número da linha cujo comprimento é solicitado.

piLength
Int32

fora Ponteiro para o comprimento da linha.

Retornos

Int32

Se o método tiver sucesso, retorna S_OK ; caso contrário, retorna um código de erro.

Aplica-se a