VsTextBufferClass.IVsTextLines_GetLengthOfLine(Int32, Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
Se o método tiver sucesso, retorna S_OK ; caso contrário, retorna um código de erro.