System::Xml::XmlTextReader::GetNamespacesInScope 方法
XmlTextReader::GetNamespacesInScope method
返回一个包含当前作用域内所有命名空间的集合。
SharedPtr<Collections::Generic::IDictionary<String, String>> System::Xml::XmlTextReader::GetNamespacesInScope(XmlNamespaceScope scope) override
| 参数 | 类型 | 描述 |
|---|---|---|
| scope | XmlNamespaceScope | 一个 XmlNamespaceScope 值,指定要返回的命名空间节点类型。 |
ReturnValue
一个 IDictionary 对象,包含所有当前作用域内的命名空间。如果读取器未定位在元素上,则返回一个空字典(无命名空间)。
另见
- Typedef SharedPtr
- Class IDictionary
- Class String
- Enum XmlNamespaceScope
- Class XmlTextReader
- Namespace System::Xml
- Library Aspose.Font for C++