System::Xml::Schema::XmlSchemaObjectCollection::Contains method

XmlSchemaObjectCollection::Contains method

Indicates if the specified XmlSchemaObject is in the XmlSchemaObjectCollection.

bool System::Xml::Schema::XmlSchemaObjectCollection::Contains(const SharedPtr<XmlSchemaObject> &item)
ParameterTypeDescription
itemconst SharedPtr<XmlSchemaObject>&The 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.

See Also