طريقة System::Xml::Schema::XmlSchemaCollection::Contains

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

تُرجع قيمة تُشير إلى ما إذا كان targetNamespace الخاص بـ XmlSchema المحدد موجودًا في المجموعة.

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&عنوان مساحة الاسم المرتبط بالمخطط. بالنسبة لمخططات XML، عادةً ما يكون هذا هو مساحة الاسم الهدف.

ReturnValue

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

انظر أيضًا