MailAddressCollection.CopyTo Method
Namespace: Rebex.Mime.Headers
Assembly: Rebex.Mail.dll (version 7.0.9083)
CopyTo(MailAddress[], Int32)
Copies the range of elements from the MailAddressCollection to a compatible one-dimensional array, starting at the specified index of the target array.
Declaration
public void CopyTo(MailAddress[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
MailAddress[] | array | One-dimensional zero-based array that is the destination of the elements copied from MailAddressCollection. |
Int32 | index | A zero-based index in the destination array at which copying begins. |
CopyTo(Array, Int32)
Copies the range of elements from the HeaderValueCollection to a compatible one-dimensional Array, starting at the specified index of the target array. Inherited from HeaderValueCollection.
Declaration
public void CopyTo(Array array, int index)
Parameters
Type | Name | Description |
---|---|---|
Array | array | One-dimensional zero-based array that is the destination of the elements copied from HeaderValueCollection. |
Int32 | index | A zero-based index in the destination array at which copying begins. |