System::Xml::Schema::XmlSchemaSet::Contains method

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

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

bool System::Xml::Schema::XmlSchemaSet::Contains(const SharedPtr<XmlSchema> &schema)
ParamètreTypeDescription
schemaconst SharedPtr<XmlSchema>&L’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 XML Schema de langage de définition (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