RdfAParserHasAttribute Method |
Determine if an element has a particular attribute.
Namespace:
VDS.RDF.Parsing
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax protected override bool HasAttribute(
HtmlNode element,
string attributeName
)
Protected Overrides Function HasAttribute (
element As HtmlNode,
attributeName As String
) As Boolean
Parameters
- element
- Type: HtmlNode
The element to check. - attributeName
- Type: SystemString
The name of the attribute to check for.
Return Value
Type:
BooleanTrue if the element has an attribute named
attributeName, false otherwise.
See Also