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: 9.1.0.0 (9.1.0.20241025)
Syntax public override string GetAttribute(
string localName,
string namespaceURI
)
Public Overrides Function GetAttribute (
localName As String,
namespaceURI As String
) As String
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:
StringThe 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