共用方式為


IVsTextLayer2 Interface

Definition

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

public interface class IVsTextLayer2
public interface class IVsTextLayer2
__interface IVsTextLayer2
[System.Runtime.InteropServices.Guid("1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextLayer2
[System.Runtime.InteropServices.Guid("1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextLayer2
[<System.Runtime.InteropServices.Guid("1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextLayer2 = interface
[<System.Runtime.InteropServices.Guid("1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextLayer2 = interface
Public Interface IVsTextLayer2
Attributes

Remarks

Adds methods to IVsTextLayer 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 text line's end-of-line (EOL) marker.

GetEolTypeEx(LINEDATAEX[], UInt32)

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

Applies to