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

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

Indica si el objeto XmlSchema del lenguaje de definición de XML Schema (XSD) especificado está en el XmlSchemaSet.

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

ReturnValue

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

Ver también

XmlSchemaSet::Contains(String) method

Indica si un esquema del lenguaje de definición de XML Schema (XSD) con el URI del espacio de nombres objetivo especificado está en el XmlSchemaSet.

bool System::Xml::Schema::XmlSchemaSet::Contains(String targetNamespace)
ParámetroTipoDescripción
targetNamespaceStringLa propiedad targetNamespace del esquema.

ReturnValue

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

Ver también