## XmlSchemaObjectCollection::Contains method


指定された [XmlSchemaObject](../../xmlschemaobject/) が [XmlSchemaObjectCollection](../) に含まれているかどうかを示します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| item | const SharedPtr\<XmlSchemaObject\>\& | [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.

## 参照

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