## XmlSchemaValidator::GetExpectedAttributes method


Returns the expected attributes for the current element context.

```cpp
ArrayPtr<SharedPtr<XmlSchemaAttribute>> System::Xml::Schema::XmlSchemaValidator::GetExpectedAttributes()
```


### ReturnValue

An array of [XmlSchemaAttribute](../../xmlschemaattribute/) objects or an empty array if there are no expected attributes.

## See Also

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchemaAttribute](../../xmlschemaattribute/)
* Class [XmlSchemaValidator](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PDF for C++](../../../)
