API Reference
Class
HtmlAttribute
An immutable attribute, including its namespace and qualified name.
Inheritance
- Object
- HtmlAttribute
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property HtmlElement.Attributes
Constructors
public HtmlAttribute(String name, String value, String namespaceUri = null) #Creates an attribute without interpreting its value as markup or a URL.
Parameters
- name System.String
- value System.String
- namespaceUri System.String = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Name { get; } #Qualified attribute name.
public String LocalName { get; } #Local name without the namespace prefix.
public String Prefix { get; } #Namespace prefix, or an empty string.
public String NamespaceUri { get; } #Namespace URI, or an empty string.
public String Value { get; } #Decoded attribute value.