## Element.GetElementsByClassName method

Restituisce un oggetto NodeList attivo contenente tutti gli elementi nel documento che hanno tutte le classi specificate nell'argomento. http://www.w3.org/TR/dom/

```csharp
public HTMLCollection GetElementsByClassName(string classNames)
```

| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| classNames | String | La stringa stringa che contiene un set non ordinato di token univoci separati da spazi che rappresentano le classi (nomi delle classi) |

### Valore di ritorno

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

### Guarda anche

* class [HTMLCollection](../../../aspose.html.collections/htmlcollection/)
* class [Element](../)
* spazio dei nomi [Aspose.Html.Dom](../../element/)
* assemblea [Aspose.HTML](../../../)


