Contains()

XmlSchemaObjectCollection::Contains(const SharedPtr<XmlSchemaObject>&) method

Indicates if the specified XmlSchemaObject is in the XmlSchemaObjectCollection.

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

Arguments

ParameterTypeDescription
itemconst SharedPtr<XmlSchemaObject>&The XmlSchemaObject.

Return Value

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