Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

Set<(Of <(<'T>)>)>..::..Clone Method

Makes a shallow clone of this set; i.e., if items of the set are reference types, then they are not cloned. If T is a value type, then each element is copied as if by simple assignment.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public Set<T> Clone()
Public Function Clone As Set(Of T)
public:
Set<T>^ Clone()

Return Value

The cloned set.

Remarks


Cloning the set takes time O(N), where N is the number of items in the set.