System::Xml::Schema::XmlSchemaCollection::Contains methode

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

Retourneert een waarde die aangeeft of de targetNamespace van het opgegeven XmlSchema zich in de collectie bevindt.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
ParameterTypeBeschrijving
schemaconst SharedPtr<XmlSchema>&Het XmlSchema object.

ReturnValue

true if there is a schema in the collection with the same targetNamespace; otherwise, false.

Zie ook

XmlSchemaCollection::Contains(const String&) method

Geeft een waarde terug die aangeeft of een schema met de opgegeven namespace zich in de collectie bevindt.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
ParameterTypeBeschrijving
nsconst String&De namespace-URI die aan het schema is gekoppeld. Voor XML-schema’s zal dit doorgaans de target-namespace zijn.

ReturnValue

true if a schema with the specified namespace is in the collection; otherwise, false.

Zie ook