ImapMessageCollection.Clone Method
Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9119)
Clone()
Creates a shallow copy of the ImapMessageCollection.
Declaration
public ImapMessageCollection Clone()
Returns
Type | Description |
---|---|
ImapMessageCollection | A shallow copy of the ImapMessageCollection. |
Remarks
A shallow copy of a collection copies only the elements of the collection, whether they are reference types or value types, but it does not copy the objects that the references refer to. The references in the new collection point to the same objects that the references in the original collection point to.