IMathBlockCollection

IMathBlockCollection 接口

数学块集合 (IMathBlock)

public interface IMathBlockCollection : IEnumerable<IMathBlock>

属性

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

方法

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

示例

示例:

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

相关内容