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

Definice

ISerializable Implementuje rozhraní a vyvolá událost deserializace po dokončení deserializace.Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.

public:
 virtual void OnDeserialization(System::Object ^ sender);
public virtual void OnDeserialization (object sender);
abstract member OnDeserialization : obj -> unit
override this.OnDeserialization : obj -> unit
Public Overridable Sub OnDeserialization (sender As Object)

Parametry

sender
Object Object Object Object

Zdroj události deserializace.The source of the deserialization event.

Implementuje

Výjimky

Objekt přidružený k aktuální Dictionary<TKey,TValue> instanci je neplatný. SerializationInfoThe SerializationInfo object associated with the current Dictionary<TKey,TValue> instance is invalid.

Poznámky

Tato metoda je operace O (n), kde n je Count.This method is an O(n) operation, where n is Count.

Platí pro

Viz také