Interface IAttr
- Namespace
- AngleSharp.Dom
- Assembly
- AngleSharp.dll
This type represents a DOM element's attribute as an object.
[DomName("Attr")]
public interface IAttr : INode, IEventTarget, IMarkupFormattable, IEquatable<IAttr>
- Inherited Members
- Extension Methods
Properties
IsSpecified
Gets always true.
[DomName("specified")]
bool IsSpecified { get; }
Property Value
LocalName
Gets the local name of the attribute.
[DomName("localName")]
string LocalName { get; }
Property Value
Name
Gets the attribute's name.
[DomName("name")]
string Name { get; }
Property Value
NamespaceUri
Gets the namespace URL of the attribute.
[DomName("namespaceURI")]
string? NamespaceUri { get; }
Property Value
OwnerElement
Gets the owning element, if any.
[DomName("ownerElement")]
IElement? OwnerElement { get; }
Property Value
Prefix
Gets the prefix used by the namespace.
[DomName("prefix")]
string? Prefix { get; }
Property Value
Value
Gets the attribute's value.
[DomName("value")]
string Value { get; set; }