## Document.QuerySelector method

セレクター に一致する、ドキュメント内の最初の要素を返します

```csharp
public Element QuerySelector(string selector)
```

| パラメータ | タイプ | 説明 |
| --- | --- | --- |
| selector | String | セレクター。 |

### 戻り値

一致したノード。

### 関連項目

* class [Element](../../element/)
* class [Document](../)
* 名前空間 [Aspose.Html.Dom](../../document/)
* 組み立て [Aspose.HTML](../../../)


