Html Attribute(String, 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(
string name,
string? value
)Parameters
Remarks
Creates a new HTML attribute with the given name and value.
Exceptions
| ArgumentNullException | name is . |