MailKit Documentation
MailKit Documentation
API Reference
MimeKit
HeaderList Class
HeaderList Methods
Insert Method
Insert(Int32, Header) Method
Insert(Int32, HeaderId, String) Method
Insert(Int32, String, String) Method
Insert(Int32, HeaderId, Encoding, String) Method
Insert(Int32, String, Encoding, String) Method
Header
List
Insert(Int
32, Header) Method
Insert the specified header at the given index.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
void
Insert
(
int
index
,
Header
header
)
Parameters
index
Int32
The index to insert the header.
header
Header
The header.
Implements
IList
T
Insert(Int32, T)
Exceptions
Exception
Condition
ArgumentNullException
header
is
null
.
ArgumentOutOfRangeException
index
is out of range.
Remarks
Inserts the header at the specified index in the list.
See Also
Reference
HeaderList Class
Insert Overload
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast