IMathBlockCollection

IMathBlockCollection 接口

数学块的集合 (IMathBlock)

public interface IMathBlockCollection : IEnumerable<IMathBlock>

属性

名称说明
AsIEnumerable { get; }允许获取基于 IEnumerable 接口的 IEnumerable
Count { get; }获取集合实际包含的元素数量。只读 Int32。
Item { get; set; }获取指定索引处的项。只读 IMathBlock

方法

名称说明
Add(IMathBlock)将 IMMathBlock 添加到集合的末尾。
Clear()从集合中移除所有元素。
Contains(IMathBlock)确定集合是否包含特定值。
IndexOf(IMathBlock)确定特定 IMMathBlock 在集合中的索引。
Insert(int, IMMathBlock)在指定索引处将 IMMathBlock 插入到集合中。
Remove(IMathBlock)从集合中移除特定对象的第一次出现。
RemoveAt(int)从集合中移除指定索引处的项。

示例

示例:

[C#]
IMathBlockCollection blockCollection = new MathParagraph();

另见