Click or drag to resize

HtmlNodeNavigatorGetAttribute Method

Gets the value of the HTML attribute with the specified LocalName and NamespaceURI.

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.1.3.0 (8.1.3.20220620)
Syntax
public override string GetAttribute(
	string localName,
	string namespaceURI
)

Parameters

localName
Type: SystemString
The local name of the HTML attribute.
namespaceURI
Type: SystemString
The namespace URI of the attribute. Unsupported with the HtmlNavigator implementation.

Return Value

Type: String
The value of the specified HTML attribute. String.Empty or null if a matching attribute is not found or if the navigator is not positioned on an element node.
See Also