---
title: "DOMTokenList.Supports"
url: "https://reference.aspose.com/html/net/aspose.html.collections/domtokenlist/supports/"
product: "Aspose.HTML for .NET API Reference"
description: "DOMTokenList Supports method. Returns true if a given token is in the associated attributes supported tokens"
---

## DOMTokenList.Supports method

Returns true if a given token is in the associated attribute's supported tokens.

```csharp
public bool Supports(string token)
```

| Parameter | Type | Description |
| --- | --- | --- |
| token | String | The token to query for. |

### Return Value

A Boolean indicating whether the token was found.

### See Also

* class [DOMTokenList](../)
* namespace [Aspose.Html.Collections](../../../aspose.html.collections/)
* assembly [Aspose.HTML](../../../)
