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

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

Gibt an, ob das angegebene XML Schema-Definitionssprache (XSD) XmlSchema-Objekt im XmlSchemaSet enthalten ist.

bool System::Xml::Schema::XmlSchemaSet::Contains(const SharedPtr<XmlSchema> &schema)
ParameterTypBeschreibung
schemaconst SharedPtr<XmlSchema>&Das XmlSchema-Objekt.

ReturnValue

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

Siehe auch

XmlSchemaSet::Contains(String) method

Gibt an, ob ein XML Schema-Definitionssprache (XSD)-Schema mit dem angegebenen Ziel-Namespace-URI im XmlSchemaSet enthalten ist.

bool System::Xml::Schema::XmlSchemaSet::Contains(String targetNamespace)
ParameterTypBeschreibung
targetNamespaceStringDie targetNamespace-Eigenschaft des Schemas.

ReturnValue

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

Siehe auch