Method HasAttribute
- Namespace
- SharpVectors.Dom
- Assembly
- SharpVectors.Core.dll
HasAttribute(string)
Determines whether the current node has an attribute with the specified name.
bool HasAttribute(string name)
Parameters
name
stringThe name of the attribute to find. This is a qualified name. It is matched against the Name property of the matching node.
Returns
HasAttribute(string, string)
Determines whether the current node has an attribute with the specified local name and namespace URI.
bool HasAttribute(string localName, string namespaceURI)
Parameters
localName
stringThe local name of the attribute to find.
namespaceURI
stringThe namespace URI of the attribute to find.