System::Xml::XmlReader::MoveToAttribute 方法
内容
[
隐藏
]XmlReader::MoveToAttribute(int32_t) method
在派生类中重写时,移动到具有指定索引的属性。
virtual void System::Xml::XmlReader::MoveToAttribute(int32_t i)
| 参数 | 类型 | 描述 |
|---|---|---|
| i | int32_t | 属性的索引。 |
另见
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++
XmlReader::MoveToAttribute(String) method
若在派生类中被重写,则移动到具有指定 XmlReader::get_Name 值的属性。
virtual bool System::Xml::XmlReader::MoveToAttribute(String name)=0
| 参数 | 类型 | 描述 |
|---|---|---|
| 名称 | String | 属性的限定名称。 |
ReturnValue
true if the attribute is found; otherwise, false. If false, the reader’s position does not change.
另见
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++
XmlReader::MoveToAttribute(String, String) method
若在派生类中被重写,则移动到具有指定 XmlReader::get_LocalName 和 XmlReader::get_NamespaceURI 值的属性。
virtual bool System::Xml::XmlReader::MoveToAttribute(String name, String ns)=0
| 参数 | 类型 | 描述 |
|---|---|---|
| 名称 | String | 属性的本地名称。 |
| ns | String | 属性的命名空间 URI。 |
ReturnValue
true if the attribute is found; otherwise, false. If false, the reader’s position does not change.
另见
- Class String
- Class XmlReader
- Namespace System::Xml
- Library Aspose.Font for C++