AngleSharp by AngleSharp

<PackageReference Include="AngleSharp" Version="1.3.0" />

.NET API 960,512 bytes

 Attr

Represents a generic node attribute.
public bool IsId { get; }

Gets if the attribute is an id attribute.

public bool IsSpecified { get; }

Gets always true.

public string LocalName { get; }

Gets the attribute's local name.

public string Name { get; }

Gets the attribute's fully qualified name.

public string NamespaceUri { get; }

Gets the attribute's namespace.

public IElement OwnerElement { get; }

Gets the owner of the attribute, if any.

public string Prefix { get; }

Gets the attribute's prefix.

public bool Specified { get; }

Gets if the value is given or not.

public string Value { get; set; }

Gets the attribute's value.

public Attr(string localName)

Creates a new attribute with the given local name.

public Attr(string localName, string value)

Creates a new attribute with the given local name and value.

public Attr(string prefix, string localName, string value, string namespaceUri)

Creates a new attribute with the given properties.

public bool Equals(IAttr other)

Checks if the attribute equals another attribute.