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