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

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

Indica se l’oggetto XmlSchema della definizione del linguaggio XML Schema (XSD) specificato è presente nel XmlSchemaSet.

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

ReturnValue

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

Vedi anche

XmlSchemaSet::Contains(String) method

Indica se uno schema XML Schema della definizione del linguaggio (XSD) con lo spazio dei nomi di destinazione URI specificato è presente nel XmlSchemaSet.

bool System::Xml::Schema::XmlSchemaSet::Contains(String targetNamespace)
ParametroTipoDescrizione
targetNamespaceStringaLa proprietà targetNamespace dello schema.

ReturnValue

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

Vedi anche