System.Collections.Hashtable.OnDeserialization Method

Implements the System.Runtime.Serialization.ISerializable interface and raises the deserialization event when the deserialization is complete.

Syntax

public virtual void OnDeserialization (object sender)

Parameters

sender
The source of the deserialization event.

Remarks

This method is an O(n) operation, where n is Hashtable.Count.

Because serializing and deserializing an enumerator for a Hashtable can cause the elements to become reordered, it is not possible to continue enumeration without calling the IEnumerator.Reset method.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0