MailKit Documentation
MailKit Documentation
API Reference
MimeKit
AttachmentCollection Class
AttachmentCollection Methods
Add Method
AddAsync Method
Clear Method
Contains Method
CopyTo Method
GetEnumerator Method
IndexOf Method
Insert Method
Remove Method
RemoveAt Method
Attachment
Collection
Copy
To Method
Copy all of the attachments in the collection to an array.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
Copy
public
void
CopyTo
(
MimeEntity
[]
array
,
int
arrayIndex
)
Parameters
array
MimeEntity
The array to copy the attachments to.
arrayIndex
Int32
The index into the array.
Implements
ICollection
T
CopyTo(
T
, Int32)
Exceptions
Exception
Condition
ArgumentNullException
array
is
null
.
ArgumentOutOfRangeException
arrayIndex
is out of range.
Remarks
Copies all of the attachments within the
AttachmentCollection
into the array, starting at the specified array index.
See Also
Reference
AttachmentCollection Class
MimeKit Namespace
Copyright © 2013-2023 Jeffrey Stedfast
Send comments on this topic to
Jeffrey Stedfast