System::Xml::Schema::XmlSchemaCollection::Contains yöntemi

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

Belirtilen XmlSchema öğesinin 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)
ParameterTypeAçı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)
ParameterTypeAçı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