## 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.Font for C++](../../../)
