## XmlDocument::GetElementById method


Restituisce l'[XmlElement](../../xmlelement/) con l'ID specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| elementId | String | L'attributo ID da confrontare. |

### ReturnValue

L'[XmlElement](../../xmlelement/) con l'ID corrispondente o **nullptr** se non viene trovato alcun elemento corrispondente.

## Vedi anche

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