共用方式為


IVsTextStorage2 Interface

Definition

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

public interface class IVsTextStorage2
public interface class IVsTextStorage2
__interface IVsTextStorage2
[System.Runtime.InteropServices.Guid("92FE8718-09DF-4615-9BC8-492E67EEB1AB")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextStorage2
[System.Runtime.InteropServices.Guid("92FE8718-09DF-4615-9BC8-492E67EEB1AB")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextStorage2
[<System.Runtime.InteropServices.Guid("92FE8718-09DF-4615-9BC8-492E67EEB1AB")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextStorage2 = interface
[<System.Runtime.InteropServices.Guid("92FE8718-09DF-4615-9BC8-492E67EEB1AB")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextStorage2 = interface
Public Interface IVsTextStorage2
Attributes

Remarks

IVsTextStorage2 adds methods to IVsTextStorage 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.

GetVersionCookie(UInt32)

Gets a version cookie on the data.

Applies to