System::Xml::Schema::XmlSchemaType::IsDerivedFrom method

XmlSchemaType::IsDerivedFrom method

Returns a value indicating if the derived schema type specified is derived from the base schema type specified.

static bool System::Xml::Schema::XmlSchemaType::IsDerivedFrom(SharedPtr<XmlSchemaType> derivedType, const SharedPtr<XmlSchemaType> &baseType, XmlSchemaDerivationMethod except)
ParameterTypeDescription
derivedTypeSharedPtr<XmlSchemaType>The derived XmlSchemaType to test.
baseTypeconst SharedPtr<XmlSchemaType>&The base XmlSchemaType to test the derived XmlSchemaType against.
exceptXmlSchemaDerivationMethodOne of the XmlSchemaDerivationMethod values representing a type derivation method to exclude from testing.

ReturnValue

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

See Also