Creates a shallow copy of the ImapMessageCollection.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Function Clone As ImapMessageCollection
C#
public ImapMessageCollection Clone()

Return Value

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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also