HtmlAttribute(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
C#
public HtmlAttribute(
	string name,
	string? value
)

Parameters

name  String
The attribute name.
value  String
The attribute value.

Remarks

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

Exceptions

See Also