System::Xml::Schema::XmlSchemaCollection::Contains méthode

XmlSchemaCollection::Contains(const SharedPtr<XmlSchema>&) method

Retourne une valeur indiquant si le targetNamespace du XmlSchema spécifié est présent dans la collection.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
ParamètreTypeDescription
schemaconst SharedPtr<XmlSchema>&L’objet XmlSchema.

ReturnValue

true if there is a schema in the collection with the same targetNamespace; otherwise, false.

Voir aussi

XmlSchemaCollection::Contains(const String&) method

Renvoie une valeur indiquant si un schéma avec l’espace de noms spécifié se trouve dans la collection.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
ParamètreTypeDescription
nsconst String&L’URI d’espace de noms associé au schéma. Pour les schémas XML, il s’agit généralement de l’espace de noms cible.

ReturnValue

true if a schema with the specified namespace is in the collection; otherwise, false.

Voir aussi