MailKit Documentation
MailKit Documentation
API Reference
MimeKit
Multipart Class
Multipart Methods
Accept Method
Add Method
Clear Method
Contains Method
CopyTo Method
Dispose Method
GetEnumerator Method
IndexOf Method
Insert Method
Prepare Method
Remove Method
RemoveAt Method
TryGetValue Method
WriteTo Method
WriteToAsync Method
Multipart
Insert Method
Insert an entity into the
Multipart
at the specified index.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
void
Insert
(
int
index
,
MimeEntity
entity
)
Parameters
index
Int32
The index.
entity
MimeEntity
The MIME entity.
Implements
IList
T
Insert(Int32, T)
Exceptions
Exception
Condition
ArgumentNullException
entity
is
null
.
ArgumentOutOfRangeException
index
is out of range.
ObjectDisposedException
The
Multipart
has been disposed.
Remarks
Inserts the part into the multipart at the specified index.
See Also
Reference
Multipart Class
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast