Contains
IMathBlockCollection.Contains Methode
Bestimmt, ob die Sammlung einen bestimmten Wert enthält.
public bool Contains(IMathBlock item)
| Parameter | Typ | Beschreibung |
|---|---|---|
| item | IMathBlock | Das Objekt, das in der Sammlung gesucht werden soll. |
Rückgabewert
true, wenn item in der Sammlung gefunden wird; andernfalls false.
Beispiele
Beispiel:
[C#]
IMathBlockCollection blockCollection = new MathParagraph();
IMathBlock block = new MathBlock(new MathematicalText("y"));
blockCollection.Add(block);
bool contains = blockCollection.Contains(block);
Siehe Auch
- Interface IMathBlock
- Interface IMathBlockCollection
- Namespace Aspose.Slides.MathText
- Assembly Aspose.Slides