## XmlDocument::GetElementById method


निर्दिष्ट ID वाले [XmlElement](../../xmlelement/) को लौटाता है।

```cpp
virtual SharedPtr<XmlElement> System::Xml::XmlDocument::GetElementById(String elementId)
```


| पैरामीटर | प्रकार | विवरण |
| --- | --- | --- |
| elementId | String | मैच करने के लिए attribute ID। |

### ReturnValue

मैचिंग ID वाला [XmlElement](../../xmlelement/) या **nullptr** यदि कोई मिलते-जुलते तत्व नहीं मिला।

## संबंधित देखें

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlElement](../../xmlelement/)
* Class [String](../../../system/string/)
* Class [XmlDocument](../)
* Namespace [System::Xml](../../)
* Library [Aspose.Page for C++](../../../)
