Méthode System::Xml::Schema::XmlSchemaSet::Contains

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

Indique si l’objet XmlSchema du langage de définition Schema XML (XSD) spécifié se trouve dans le XmlSchemaSet.

bool System::Xml::Schema::XmlSchemaSet::Contains(const SharedPtr<XmlSchema> &schema)
ParamètreTypeDescription
schemaconst SharedPtr<XmlSchema>&Objet XmlSchema.

ReturnValue

true if the XmlSchema object is in the XmlSchemaSet; otherwise, false.

Voir aussi

XmlSchemaSet::Contains(String) method

Indique si un schéma Schema du langage de définition XML (XSD) avec l’URI d’espace de noms cible spécifié se trouve dans le XmlSchemaSet.

bool System::Xml::Schema::XmlSchemaSet::Contains(String targetNamespace)
ParamètreTypeDescription
targetNamespaceStringLa propriété targetNamespace du schéma.

ReturnValue

true if a schema with the specified target namespace URI is in the XmlSchemaSet; otherwise, false.

Voir aussi