Partilhar via


Método IVsTextStorage.Storage_GetLengthOfLine

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (em Microsoft.VisualStudio.TextManager.Interop.dll)

Sintaxe

'Declaração
Function Storage_GetLengthOfLine ( _
    iLine As Integer, _
    <OutAttribute> ByRef piLength As Integer _
) As Integer
int Storage_GetLengthOfLine(
    int iLine,
    out int piLength
)
int Storage_GetLengthOfLine(
    [InAttribute] int iLine, 
    [OutAttribute] int% piLength
)
abstract Storage_GetLengthOfLine : 
        iLine:int * 
        piLength:int byref -> int
function Storage_GetLengthOfLine(
    iLine : int, 
    piLength : int
) : int

Parâmetros

  • iLine
    Tipo: Int32

    [in] Índice da linha de interesse.

  • piLength
    Tipo: Int32%

    [out] Comprimento da linha.

Valor de retorno

Tipo: Int32
Se o método for bem-sucedido, ele retorna S_OK.Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De textmgr.idl:

HRESULT IVsTextStorage::Storage_GetLengthOfLine(
   [in] long iLine,
   [out] long *piLength
);

Segurança do .NET Framework

Consulte também

Referência

IVsTextStorage Interface

Namespace Microsoft.VisualStudio.TextManager.Interop