## XmlSchemaType::IsDerivedFrom method


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

```cpp
static bool System::Xml::Schema::XmlSchemaType::IsDerivedFrom(SharedPtr<XmlSchemaType> derivedType, const SharedPtr<XmlSchemaType> &baseType, XmlSchemaDerivationMethod except)
```


| Parameter | Type | Description |
| --- | --- | --- |
| derivedType | SharedPtr\<XmlSchemaType\> | The derived [XmlSchemaType](../) to test. |
| baseType | const SharedPtr\<XmlSchemaType\>\& | The base [XmlSchemaType](../) to test the derived [XmlSchemaType](../) against. |
| except | XmlSchemaDerivationMethod | One 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

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchemaType](../)
* Enum [XmlSchemaDerivationMethod](../../xmlschemaderivationmethod/)
* Class [XmlSchemaType](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PUB for C++](../../../)
