ITextAndAdornmentCollection 接口

表示 ITextAndAdornmentSequencer 生成的 ISequenceElement 对象的列表。

命名空间:  Microsoft.VisualStudio.Text.Formatting
程序集:  Microsoft.VisualStudio.Text.UI(在 Microsoft.VisualStudio.Text.UI.dll 中)

语法

声明
Public Interface ITextAndAdornmentCollection _
    Inherits IList(Of ISequenceElement), ICollection(Of ISequenceElement),  _
    IEnumerable(Of ISequenceElement), IEnumerable
public interface ITextAndAdornmentCollection : IList<ISequenceElement>, 
    ICollection<ISequenceElement>, IEnumerable<ISequenceElement>, IEnumerable
public interface class ITextAndAdornmentCollection : IList<ISequenceElement^>, 
    ICollection<ISequenceElement^>, IEnumerable<ISequenceElement^>, IEnumerable
type ITextAndAdornmentCollection =  
    interface 
        interface IList<ISequenceElement>
        interface ICollection<ISequenceElement>
        interface IEnumerable<ISequenceElement>
        interface IEnumerable 
    end
public interface ITextAndAdornmentCollection extends IList<ISequenceElement>, ICollection<ISequenceElement>, IEnumerable<ISequenceElement>, IEnumerable

ITextAndAdornmentCollection 类型公开以下成员。

属性

  名称 说明
公共属性 Count 获取 ICollection 中包含的元素数。 (继承自 ICollection<ISequenceElement>。)
公共属性 IsReadOnly 获取一个值,该值指示 ICollection 是否为只读。 (继承自 ICollection<ISequenceElement>。)
公共属性 Item 获取或设置位于指定索引处的元素。 (继承自 IList<ISequenceElement>。)
公共属性 Sequencer 获取生成集合的 ITextAndAdornmentSequencer

页首

方法

  名称 说明
公共方法 Add 将某项添加到 ICollection 中。 (继承自 ICollection<ISequenceElement>。)
公共方法 Clear ICollection 中移除所有项。 (继承自 ICollection<ISequenceElement>。)
公共方法 Contains 确定 ICollection 是否包含特定值。 (继承自 ICollection<ISequenceElement>。)
公共方法 CopyTo 从特定的 Array 索引开始,将 ICollection 的元素复制到一个 Array 中。 (继承自 ICollection<ISequenceElement>。)
公共方法 GetEnumerator 返回一个循环访问集合的枚举器。 (继承自 IEnumerable<ISequenceElement>。)
公共方法 IndexOf 确定 IList 中特定项的索引。 (继承自 IList<ISequenceElement>。)
公共方法 Insert 将一个项插入指定索引处的 IList。 (继承自 IList<ISequenceElement>。)
公共方法 Remove ICollection 中移除特定对象的第一个匹配项。 (继承自 ICollection<ISequenceElement>。)
公共方法 RemoveAt 移除指定索引处的 IList 项。 (继承自 IList<ISequenceElement>。)

页首

请参阅

参考

Microsoft.VisualStudio.Text.Formatting 命名空间