طريقة System::Xml::Schema::XmlSchemaType::IsDerivedFrom

XmlSchemaType::IsDerivedFrom method

يرجع قيمة تشير إلى ما إذا كان نوع المخطط المشتق المحدد مشتقًا من نوع المخطط الأساسي المحدد.

static bool System::Xml::Schema::XmlSchemaType::IsDerivedFrom(SharedPtr<XmlSchemaType> derivedType, const SharedPtr<XmlSchemaType> &baseType, XmlSchemaDerivationMethod except)
معاملنوعالوصف
derivedTypeSharedPtr<XmlSchemaType>نوع XmlSchemaType المشتق للاختبار.
baseTypeconst SharedPtr<XmlSchemaType>&نوع XmlSchemaType الأساسي لاختبار النوع المشتق XmlSchemaType ضده.
exceptXmlSchemaDerivationMethodإحدى قيم XmlSchemaDerivationMethod التي تمثل طريقة اشتقاق نوع لاستبعادها من الاختبار.

ReturnValue

true if the derived type is derived from the base type; otherwise, false.

انظر أيضًا