Count

Propriété IMathBlockCollection.Count

Obtient le nombre d’éléments réellement contenus dans la collection. En lecture seule Int32.

public int Count { get; }

Exemples

Exemple:

[C#]
IMathBlockCollection blockCollection = new MathParagraph();
blockCollection.Add(new MathBlock(new MathematicalText("block1")));
blockCollection.Add(new MathBlock(new MathematicalText("block2")));
int blocksCount = blockCollection.Count;

Voir aussi