## Element.GetAttributeNames method

Returns the attribute names of the element as an Array of strings. If the element has no attributes it returns an empty array.

```csharp
public string[] GetAttributeNames()
```

### Return Value

Array of strings represents attribute names.

### See Also

* class [Element](../)
* namespace [Aspose.Html.Dom](../../../aspose.html.dom/)
* assembly [Aspose.HTML](../../../)
