IVsTextLayer2.GetEolLengthEx Method

Returns the length in characters of the text line's end-of-line marker.

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

Syntax

'Déclaration
Function GetEolLengthEx ( _
    pld As LINEDATAEX(), _
    <OutAttribute> ByRef piEolType As UInteger _
) As Integer
'Utilisation
Dim instance As IVsTextLayer2
Dim pld As LINEDATAEX()
Dim piEolType As UInteger
Dim returnValue As Integer

returnValue = instance.GetEolLengthEx(pld, _
    piEolType)
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

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

Returns the length in characters of the end-of-line marker terminating the text line contained in pld. This method extends the IVsTextLayer interface.

.NET Framework Security

See Also

Reference

IVsTextLayer2 Interface

IVsTextLayer2 Members

Microsoft.VisualStudio.TextManager.Interop Namespace