System::Xml::XmlDocument::GetElementById 方法
XmlDocument::GetElementById method
返回具有指定 ID 的 XmlElement。
virtual SharedPtr<XmlElement> System::Xml::XmlDocument::GetElementById(String elementId)
| 参数 | 类型 | 描述 |
|---|---|---|
| elementId | String | 要匹配的属性 ID。 |
ReturnValue
具有匹配 ID 的 XmlElement,如果未找到匹配的元素则为 nullptr。
另见
- Typedef SharedPtr
- Class XmlElement
- Class String
- Class XmlDocument
- Namespace System::Xml
- Library Aspose.Font for C++