Count

IMathElementCollection.Count 属性

获取集合中实际包含的元素数量。只读 Int32。

public int Count { get; }

示例

示例:

[C#]
IMathElementCollection collection = new MathBlock(new MathematicalText("x"));
int count = collection.Count;

另见