The hasAttributes() method of the Element interface returns a boolean value indicating whether the current element has any attributes or not.
Namespace: Aspose.Html.DomAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 22.5
Syntaxpublic virtual bool HasAttributes()
Public Overridable Function HasAttributes As Boolean
public:
virtual bool HasAttributes()
abstract HasAttributes : unit -> bool
override HasAttributes : unit -> bool
Return Value
Type:
Booleanboolean true if this node has any attributes, false otherwise.
See Also