System::Xml::Schema::XmlSchemaType::IsDerivedFrom metodo

XmlSchemaType::IsDerivedFrom method

Restituisce un valore che indica se il tipo di schema derivato specificato è derivato dal tipo di schema base specificato.

static bool System::Xml::Schema::XmlSchemaType::IsDerivedFrom(SharedPtr<XmlSchemaType> derivedType, const SharedPtr<XmlSchemaType> &baseType, XmlSchemaDerivationMethod except)
ParametroTipoDescrizione
derivedTypeSharedPtr<XmlSchemaType>Il XmlSchemaType derivato da testare.
baseTypeconst SharedPtr<XmlSchemaType>&Il XmlSchemaType base contro cui testare il XmlSchemaType derivato.
exceptXmlSchemaDerivationMethodUno dei valori XmlSchemaDerivationMethod che rappresentano un metodo di derivazione del tipo da escludere dal test.

ReturnValue

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

Vedi anche