共用方式為


IVsTextLines2 Interface

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

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

Syntax

'宣告
<GuidAttribute("181B18A3-A0E8-436B-8AEF-500043C7CC78")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextLines2
[GuidAttribute("181B18A3-A0E8-436B-8AEF-500043C7CC78")]
[InterfaceTypeAttribute()]
public interface IVsTextLines2
[GuidAttribute(L"181B18A3-A0E8-436B-8AEF-500043C7CC78")]
[InterfaceTypeAttribute()]
public interface class IVsTextLines2
[<GuidAttribute("181B18A3-A0E8-436B-8AEF-500043C7CC78")>]
[<InterfaceTypeAttribute()>]
type IVsTextLines2 =  interface end
public interface IVsTextLines2

The IVsTextLines2 type exposes the following members.

Methods

  Name Description
Public method GetEolLengthEx Returns the length in characters of the text line's end-of-line marker.
Public method GetEolTextEx Returns a string containing the end-of-line (EOL) marker terminating the text line.
Public method GetEolTypeEx Returns the EOLTYPE of the text line's end-of-line marker.

Top

Remarks

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

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace