IAttr
This type represents a DOM element's attribute as an object.
using AngleSharp.Attributes;
using System;
using System.Runtime.CompilerServices;
namespace AngleSharp.Dom
{
[System.Runtime.CompilerServices.NullableContext(1)]
[DomName("Attr")]
public interface IAttr : INode, IEventTarget, IMarkupFormattable, IEquatable<IAttr>
{
[DomName("localName")]
string LocalName { get; }
[DomName("name")]
string Name { get; }
[DomName("value")]
string Value { get; set; }
[System.Runtime.CompilerServices.Nullable(2)]
[DomName("namespaceURI")]
string NamespaceUri {
[System.Runtime.CompilerServices.NullableContext(2)]
get;
}
[System.Runtime.CompilerServices.Nullable(2)]
[DomName("prefix")]
string Prefix {
[System.Runtime.CompilerServices.NullableContext(2)]
get;
}
[System.Runtime.CompilerServices.Nullable(2)]
[DomName("ownerElement")]
IElement OwnerElement {
[System.Runtime.CompilerServices.NullableContext(2)]
get;
}
[DomName("specified")]
bool IsSpecified { get; }
}
}