Click or drag to resize
BigListTCloneContents Method
Makes a deep clone of this BigList. A new BigList is created with a clone of each element of this set, by calling ICloneable.Clone on each element. If T is a value type, then this method is the same as Clone.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public BigList<T> CloneContents()

Return Value

Type: BigListT
The cloned set.
Exceptions
ExceptionCondition
InvalidOperationExceptionT is a reference type that does not implement ICloneable.
Remarks

If T is a reference type, it must implement ICloneable. Otherwise, an InvalidOperationException is thrown.

If T is a reference type, cloning the list takes time approximate O(N), where N is the number of items in the list.

See Also