System::Xml::Schema::XmlSchemaCollection::Contains metodo

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

Restituisce un valore che indica se il targetNamespace del XmlSchema specificato è presente nella collezione.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
ParametroTipoDescrizione
schemaconst SharedPtr<XmlSchema>&L’oggetto XmlSchema.

ReturnValue

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

Vedi anche

XmlSchemaCollection::Contains(const String&) method

Restituisce un valore che indica se uno schema con il namespace specificato è nella collezione.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
ParametroTipoDescrizione
nsconst String&L’URI dello spazio dei nomi associato allo schema. Per gli XML Schema, tipicamente sarà lo spazio dei nomi target.

ReturnValue

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

Vedi anche