Html Attribute(Html Attribute Id, String) Constructor
Initialize a new instance of the HtmlAttribute class.
Definition
Namespace: MimeKit.Text
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public HtmlAttribute(
HtmlAttributeId id,
string? value
)Parameters
- id HtmlAttributeId
- The attribute identifier.
- value String
- The attribute value.
Remarks
Creates a new HTML attribute with the given id and value.
Exceptions
| ArgumentOutOfRangeException | id is not a valid value. |