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

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)
ParameterTypeDescription
schemaconst SharedPtr<XmlSchema>&The XmlSchema object.

ReturnValue

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

See Also

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)
ParameterTypeDescription
targetNamespaceStringThe schema targetNamespace property.

ReturnValue

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

See Also