IVsTextLayer2 接口

添加方法检查行尾标记。 IVsTextLayer 接口。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)

语法

声明
<GuidAttribute("1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextLayer2
[GuidAttribute("1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")]
[InterfaceTypeAttribute()]
public interface IVsTextLayer2
[GuidAttribute(L"1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")]
[InterfaceTypeAttribute()]
public interface class IVsTextLayer2
[<GuidAttribute("1FE22AB1-40CA-45A0-BD56-7E65FA3B774C")>]
[<InterfaceTypeAttribute()>]
type IVsTextLayer2 =  interface end
public interface IVsTextLayer2

IVsTextLayer2 类型公开以下成员。

方法

  名称 说明
公共方法 GetEolLengthEx 返回在文本行的行尾标记字符的长度。
公共方法 GetEolTextEx 返回包含文本的行结束 (EOL)标记的字符串。
公共方法 GetEolTypeEx 返回文本行的行尾标记的 EOLTYPE

页首

备注

将方法添加到 IVsTextLayer 检查文本的行结束标记。

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间