System::Xml::Schema::XmlSchemaObjectCollection::Contains 方法

XmlSchemaObjectCollection::Contains method

指示指定的 XmlSchemaObject 是否在 XmlSchemaObjectCollection 中。

bool System::Xml::Schema::XmlSchemaObjectCollection::Contains(const SharedPtr<XmlSchemaObject> &item)
参数类型描述
itemconst SharedPtr<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.

另见