## Document.GetElementById method

Verilen değere sahip bir ID özniteliğine sahip Öğeyi döndürür. Böyle bir öğe yoksa, bu null değerini döndürür. Birden fazla öğenin bu değere sahip bir kimlik özelliği varsa, döndürülen şey undefined. 'dir.

```csharp
public Element GetElementById(string elementId)
```

| Parametre | Tip | Tanım |
| --- | --- | --- |
| elementId | String | Öğe kimliği. |

### Geri dönüş değeri

[`Element`](../../element/) .

### Ayrıca bakınız

* class [Element](../../element/)
* class [Document](../)
* ad alanı [Aspose.Html.Dom](../../document/)
* toplantı [Aspose.HTML](../../../)


