共用方式為


IVsTextLines2 Interface

Definition

Adds methods to examine end-of-line markers to the IVsTextLines interface.

public interface class IVsTextLines2
public interface class IVsTextLines2
__interface IVsTextLines2
[System.Runtime.InteropServices.Guid("181B18A3-A0E8-436B-8AEF-500043C7CC78")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextLines2
[System.Runtime.InteropServices.Guid("181B18A3-A0E8-436B-8AEF-500043C7CC78")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextLines2
[<System.Runtime.InteropServices.Guid("181B18A3-A0E8-436B-8AEF-500043C7CC78")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextLines2 = interface
[<System.Runtime.InteropServices.Guid("181B18A3-A0E8-436B-8AEF-500043C7CC78")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextLines2 = interface
Public Interface IVsTextLines2
Attributes

Remarks

Adds methods to IVsTextLines to examine a text line's end-of-line marker.

Methods

GetEolLengthEx(LINEDATAEX[], UInt32)

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

GetEolTextEx(LINEDATAEX[], String)

Returns a string containing the end-of-line (EOL) marker terminating the text line.

GetEolTypeEx(LINEDATAEX[], UInt32)

Returns the EOLTYPE of the text line's end-of-line marker.

Applies to