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

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

Devuelve un valor que indica si el targetNamespace del XmlSchema especificado está en la colección.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
ParámetroTipoDescripción
schemaconst SharedPtr<XmlSchema>&El objeto XmlSchema.

ReturnValue

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

Ver también

XmlSchemaCollection::Contains(const String&) method

Devuelve un valor que indica si un esquema con el espacio de nombres especificado está en la colección.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
ParámetroTipoDescripción
nsconst String&El URI del espacio de nombres asociado con el esquema. Para los XML Schemas, típicamente será el espacio de nombres objetivo.

ReturnValue

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

Ver también