## XmlSchemaElement::set_SchemaType method


Sets the type of the element. This can either be a complex type or a simple type.

```cpp
void System::Xml::Schema::XmlSchemaElement::set_SchemaType(const SharedPtr<XmlSchemaType> &value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | const SharedPtr\<XmlSchemaType\>\& | The value to set. |

## See Also

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