NodeHasAttributes Method

The hasAttributes() method of the Element interface returns a boolean value indicating whether the current element has any attributes or not.

Namespace: Aspose.Html.Dom
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.5
Syntax
public virtual bool HasAttributes()

Return Value

Type: Boolean

boolean true if this node has any attributes, false otherwise.

See Also