Item
IMathElementCollection 索引器
获取指定索引处的元素。只读 IMathElement
。
public IMathElement this[int index] { get; }
参数 | 描述 |
---|---|
index | 要获取的项的零基础索引 |
示例
示例:
[C#]
IMathElementCollection collection = new MathBlock(new MathematicalText("x"));
IMathElement firstElem = collection[0];