Metodo System::Xml::Schema::XmlSchemaSet::Contains

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

Indica se l’oggetto XmlSchema del linguaggio di definizione 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 (XSD) con lo spazio dei nomi target specificato è presente nel XmlSchemaSet.

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

ReturnValue

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

Vedi anche