IVsTextStorage2 接口

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

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

语法

声明
<GuidAttribute("92FE8718-09DF-4615-9BC8-492E67EEB1AB")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextStorage2
[GuidAttribute("92FE8718-09DF-4615-9BC8-492E67EEB1AB")]
[InterfaceTypeAttribute()]
public interface IVsTextStorage2
[GuidAttribute(L"92FE8718-09DF-4615-9BC8-492E67EEB1AB")]
[InterfaceTypeAttribute()]
public interface class IVsTextStorage2
[<GuidAttribute("92FE8718-09DF-4615-9BC8-492E67EEB1AB")>]
[<InterfaceTypeAttribute()>]
type IVsTextStorage2 =  interface end
public interface IVsTextStorage2

IVsTextStorage2 类型公开以下成员。

方法

  名称 说明
公共方法 GetEolLengthEx 返回在文本行的行尾标记字符的长度。
公共方法 GetEolTextEx 返回一个行结束标记的 (EOL)字符串终止文本行。
公共方法 GetEolTypeEx 返回文本行的行尾标记的 EOLTYPE
公共方法 GetVersionCookie 获取在数据的版本 cookie。

页首

备注

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

请参阅

参考

Microsoft.VisualStudio.TextManager.Interop 命名空间