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

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

Указывает, находится ли указанный объект XmlSchema языка определения XML Schema (XSD) в XmlSchemaSet.

bool System::Xml::Schema::XmlSchemaSet::Contains(const SharedPtr<XmlSchema> &schema)
ПараметрТипОписание
schemaconst SharedPtr<XmlSchema>&Объект XmlSchema.

ReturnValue

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

См. также

XmlSchemaSet::Contains(String) method

Указывает, находится ли XML Schema языка определения (XSD) схема с указанным целевым URI пространства имён в XmlSchemaSet.

bool System::Xml::Schema::XmlSchemaSet::Contains(String targetNamespace)
ПараметрТипОписание
targetNamespaceStringСвойство схемы targetNamespace.

ReturnValue

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

См. также