System::Xml::XmlNodeReader::MoveToAttribute 方法
内容
[
隐藏
]XmlNodeReader::MoveToAttribute(int32_t) method
移动到具有指定索引的属性。
void System::Xml::XmlNodeReader::MoveToAttribute(int32_t attributeIndex) override
| Parameter | Type | 描述 |
|---|---|---|
| attributeIndex | int32_t | 属性的索引。 |
另见
- Class XmlNodeReader
- Namespace System::Xml
- Library Aspose.Page for C++
XmlNodeReader::MoveToAttribute(String) method
移动到具有指定名称的属性。
bool System::Xml::XmlNodeReader::MoveToAttribute(String name) override
| Parameter | Type | 描述 |
|---|---|---|
| name | 字符串 | 属性的限定名称。 |
ReturnValue
true if the attribute is found; otherwise, false. If false, the reader’s position does not change.
另见
- Class String
- Class XmlNodeReader
- Namespace System::Xml
- Library Aspose.Page for C++
XmlNodeReader::MoveToAttribute(String, String) method
移动到具有指定本地名称和命名空间 URI 的属性。
bool System::Xml::XmlNodeReader::MoveToAttribute(String name, String namespaceURI) override
| Parameter | Type | 描述 |
|---|---|---|
| name | 字符串 | 属性的本地名称。 |
| namespaceURI | 字符串 | 属性的命名空间 URI。 |
ReturnValue
true if the attribute is found; otherwise, false. If false, the reader’s position does not change.
另见
- Class String
- Class XmlNodeReader
- Namespace System::Xml
- Library Aspose.Page for C++