Element.HasAttribute
Element.HasAttribute method
Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise.
public bool HasAttribute(string qualifiedName)
Parameter | Type | Description |
---|---|---|
name | String | The attribute name. |
Return Value
true
if the specified name has attribute; otherwise, false
.
See Also
- class Element
- namespace Aspose.Html.Dom
- assembly Aspose.HTML