共用方式為


IVsTextImage2.GetEolTypeEx Method

Returns the EOLTYPE of the end-of-line (EOL) marker.

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

Syntax

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

Parameters

  • piEolType
    Type: System.UInt32%
    [out] A uint valid member of EOLTYPE.

Return Value

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

Remarks

Returns the EOLTYPE of the EOL marker in the text line pld.

.NET Framework Security

See Also

Reference

IVsTextImage2 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace