IsDerivedFrom()

XmlSchemaType::IsDerivedFrom(SharedPtr<XmlSchemaType>, const SharedPtr<XmlSchemaType>&, XmlSchemaDerivationMethod) 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)

Arguments

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.

Return Value

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

See Also