System::Collections::ObjectModel::ReadOnlyCollection::Contains metod
ReadOnlyCollection::Contains method
Kontrollerar om behållaren innehåller ett specifikt objekt.
virtual bool System::Collections::ObjectModel::ReadOnlyCollection<T>::Contains(const T &item) const override
| Parameter | Type | Beskrivning |
|---|---|---|
| objekt | const T& | Objekt att söka efter. |
ReturnValue
true om objektet hittas, false annars.
Se även
- Class ReadOnlyCollection
- Namespace System::Collections::ObjectModel
- Library Aspose.Page for C++