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
namestringThe 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
localNamestringThe local name of the attribute to find.
namespaceURIstringThe namespace URI of the attribute to find.