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

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

Indica si el objeto XmlSchema de lenguaje de definición de Schema XML (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 Schema XML de lenguaje de definición (XSD) con el URI del espacio de nombres de destino 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