Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Dictionary<TKey, TValue>.OnDeserialization Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.Collections.Generic
Assembly:  mscorlib (in mscorlib.dll)

public virtual void OnDeserialization(
	object sender


Type: System.Object

The source of the deserialization event.

Exception Condition

The System.Runtime.Serialization.SerializationInfo object associated with the current Dictionary<TKey, TValue> instance is invalid.

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

.NET Framework
Available since 2.0
Return to top
© 2018 Microsoft