Contains()

XmlSchemaSet::Contains(String) method

Indicates whether an XML Schema definition language (XSD) schema with the specified target namespace URI is in the XmlSchemaSet.

bool System::Xml::Schema::XmlSchemaSet::Contains(String targetNamespace)

Arguments

ParameterTypeDescription
targetNamespaceStringThe schema targetNamespace property.

Return Value

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

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

Indicates whether the specified XML Schema definition language (XSD) XmlSchema object is in the XmlSchemaSet.

bool System::Xml::Schema::XmlSchemaSet::Contains(const SharedPtr<XmlSchema> &schema)

Arguments

ParameterTypeDescription
schemaconst SharedPtr<XmlSchema>&The XmlSchema object.

Return Value

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

See Also