MimeEntitySetHeader(String, String) Method

Set the value of a header.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
protected void SetHeader(
	string name,
	string value
)

Parameters

name  String
The name of the header.
value  String
The value of the header.

Remarks

Sets the header to the specified value without calling OnHeadersChanged(HeaderListChangedAction, Header).

See Also