## XmlDocument::GetElementById method


지정된 ID를 가진 [XmlElement](../../xmlelement/)를 반환합니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| elementId | String | 일치시킬 속성 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++](../../../)
