## XmlSchemaElement::get_ElementSchemaType method


Returns an [XmlSchemaType](../../xmlschematype/) object representing the type of the element based on the [XmlSchemaElement::get_SchemaType](../get_schematype/) or [XmlSchemaElement::get_SchemaTypeName](../get_schematypename/) values of the element.

```cpp
SharedPtr<XmlSchemaType> System::Xml::Schema::XmlSchemaElement::get_ElementSchemaType()
```


### ReturnValue

An [XmlSchemaType](../../xmlschematype/) object.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchemaType](../../xmlschematype/)
* Class [XmlSchemaElement](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
