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

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

Указывает, находится ли указанный объект XML Schema языка определения (XSD) XmlSchema в 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.

См. также