System::Xml::Schema::XmlSchemaCollection::Contains metodu

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

Belirtilen XmlSchema‘ın targetNamespace‘inin koleksiyonda olup olmadığını gösteren bir değer döndürür.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
ParametreTürAçıklama
schemaconst SharedPtr<XmlSchema>&XmlSchema nesnesi.

ReturnValue

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

Ayrıca Bakınız

XmlSchemaCollection::Contains(const String&) method

Belirtilen ad alanına sahip bir şemanın koleksiyonda olup olmadığını gösteren bir değer döndürür.

bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
ParametreTürAçıklama
nsconst String&Şema ile ilişkili ad alanı URI’si. XML Şemaları için bu genellikle hedef ad alanı olur.

ReturnValue

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

Ayrıca Bakınız