Partilhar via


Método IVsTextStorage2.GetEolLengthEx

Retorna o comprimento em caracteres do marcador de fim-de-linha da linha de texto.

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

Sintaxe

'Declaração
Function GetEolLengthEx ( _
    pld As LINEDATAEX(), _
    <OutAttribute> ByRef piEolType As UInteger _
) As Integer
int GetEolLengthEx(
    LINEDATAEX[] pld,
    out uint piEolType
)
int GetEolLengthEx(
    [InAttribute] array<LINEDATAEX>^ pld, 
    [OutAttribute] unsigned int% piEolType
)
abstract GetEolLengthEx : 
        pld:LINEDATAEX[] * 
        piEolType:uint32 byref -> int
function GetEolLengthEx(
    pld : LINEDATAEX[], 
    piEolType : uint
) : int

Parâmetros

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

GetEolLengthExRetorna o comprimento em caracteres do marcador de fim-de-linha, encerrando a linha do texto contida em pld. Esse método amplia o IVsTextStorage interface.

Segurança do .NET Framework

Consulte também

Referência

IVsTextStorage2 Interface

Namespace Microsoft.VisualStudio.TextManager.Interop