System::Xml::Schema::XmlSchemaType::IsDerivedFrom metode

XmlSchemaType::IsDerivedFrom method

Mengembalikan nilai yang menunjukkan apakah tipe skema turunan yang ditentukan diturunkan dari tipe skema dasar yang ditentukan.

static bool System::Xml::Schema::XmlSchemaType::IsDerivedFrom(SharedPtr<XmlSchemaType> derivedType, const SharedPtr<XmlSchemaType> &baseType, XmlSchemaDerivationMethod except)
ParameterTipeDeskripsi
derivedTypeSharedPtr<XmlSchemaType>Tipe XmlSchemaType turunan yang akan diuji.
baseTypeconst SharedPtr<XmlSchemaType>&Tipe XmlSchemaType dasar untuk menguji tipe XmlSchemaType turunan terhadapnya.
exceptXmlSchemaDerivationMethodSalah satu nilai XmlSchemaDerivationMethod yang mewakili metode derivasi tipe yang akan dikecualikan dari pengujian.

ReturnValue

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

Lihat Juga