## XmlSchemaValidator::GetExpectedAttributes method


返回当前元素上下文的预期属性。

```cpp
ArrayPtr<SharedPtr<XmlSchemaAttribute>> System::Xml::Schema::XmlSchemaValidator::GetExpectedAttributes()
```


### ReturnValue

一个 [XmlSchemaAttribute](../../xmlschemaattribute/) 对象数组，如果没有预期属性则返回空数组。

## 另见

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchemaAttribute](../../xmlschemaattribute/)
* Class [XmlSchemaValidator](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Page for C++](../../../)
