IMathElementCollection

IMathElementCollection interface

Represents a collection of mathematical elements (MathElement).

public interface IMathElementCollection : IEnumerable<IMathElement>

Properties

NameDescription
AsIEnumerable { get; }Returns IEnumerable interface. Read-only IEnumerable.
Count { get; }Gets the number of elements actually contained in the collection. Read-only Int32.
Item { get; }Gets the element at the specified index. Read-only IMathElement.

Methods

NameDescription
Add(IMathElement)Adds a math element to the end of the collection.
Clear()Removes all elements from the collection.
Contains(IMathElement)Determines whether the collection contains a specific value.
CopyTo(IMathElement[], int)Copy to specified array.
IndexOf(IMathElement)Determines the index of a specific math element in collection.
Insert(int, IMathElement)Inserts a math element into the collection at the specified index.
Remove(IMathElement)Removes the first occurrence of a specific object from the collection.
RemoveAt(int)Removes the element at the specified index of the collection.

Examples

Example:

[C#]
IMathElementCollection collection = new MathBlock();

See Also