System::Xml::Schema::XmlSchemaCollection::Contains メソッド

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

指定された XmlSchematargetNamespace がコレクションに含まれているかどうかを示す値を返します。

bool System::Xml::Schema::XmlSchemaCollection::Contains(const SharedPtr<XmlSchema> &schema)
パラメーター説明
schemaconst SharedPtr<XmlSchema>&XmlSchema オブジェクト。

ReturnValue

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

参照

XmlSchemaCollection::Contains(const String&) method

指定された名前空間を持つスキーマがコレクションに存在するかどうかを示す値を返します。

bool System::Xml::Schema::XmlSchemaCollection::Contains(const String &ns)
パラメーター説明
nsconst String&スキーマに関連付けられた名前空間 URI。XML スキーマの場合、通常はターゲット名前空間になります。

ReturnValue

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

参照