Gets the value of the specified attribute,
or an empty string if the attribute is not contained within this HTML element.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax
Parameters
- name
- Type: System String
The name of the attribute from which the value should be returned.
Return Value
The value of the attribute, or an empty string if no attribute with the specified name could be found.Examples
// Get the value of the "name" attribute for the HTML element string name = element.GetAttribute("name");
See Also