NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Hashtable.Clone

Creates a shallow copy of the Hashtable.

[Visual Basic]
Overridable Public Function Clone() As Object
[C#]
public virtual object Clone();
[C++]
public: virtual Object* Clone();
[JScript]
public function Clone() : Object;

Return Value

A shallow copy of the Hashtable.

Remarks

This method can be overridden by a derived class.

A shallow copy of an object is a copy of the object only. If the object contains references to other objects, the shallow copy will not create copies of the referred objects, but will refer to the original objects instead. On the other hand, a deep copy of an object creates a copy of the object and a copy of everything directly or indirectly referenced by that object.

See Also

Hashtable Class | Hashtable Members | System.Collections Namespace | CopyTo