## XmlSchemaObjectCollection::Contains method


Anger om det angivna [XmlSchemaObject](../../xmlschemaobject/) finns i [XmlSchemaObjectCollection](../).

```cpp
bool System::Xml::Schema::XmlSchemaObjectCollection::Contains(const SharedPtr<XmlSchemaObject> &item)
```


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| item | const SharedPtr\<XmlSchemaObject\>\& | Det [XmlSchemaObject](../../xmlschemaobject/). |

### ReturnValue

**true** if the specified qualified name is in the collection; otherwise, returns **false**. If **nullptr** is supplied, **false** is returned because there is no qualified name with a null name.

## Se även

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchemaObject](../../xmlschemaobject/)
* Class [XmlSchemaObjectCollection](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
