MailKit Documentation
MailKit Documentation
API Reference
MimeKit
MimeEntity Class
MimeEntity Methods
SetHeader Method
SetHeader(String, Byte[]) Method
SetHeader(String, String) Method
Mime
Entity
Set
Header(String, String) Method
Set the value of a header.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
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
Reference
MimeEntity Class
SetHeader Overload
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast