Contains
IMathBlockCollection.Contains method
Determines whether the collection contains a specific value.
public bool Contains(IMathBlock item)
Parameter | Type | Description |
---|---|---|
item | IMathBlock | The object to locate in the collection. |
Return Value
true if item is found in the collection; otherwise, false.
Examples
Example:
[C#]
IMathBlockCollection blockCollection = new MathParagraph();
IMathBlock block = new MathBlock(new MathematicalText("y"));
blockCollection.Add(block);
bool contains = blockCollection.Contains(block);
See Also
- interface IMathBlock
- interface IMathBlockCollection
- namespace Aspose.Slides.MathText
- assembly Aspose.Slides