SortedSet<T>.OnDeserialization(Object) 方法

定義

實作 ISerializable 介面,並於還原序列化完成時,引發還原序列化事件。Implements the ISerializable interface, and raises the deserialization event when the deserialization is completed.

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

參數

sender
Object

還原序列化之事件的來源。The source of the deserialization event.

例外狀況

與目前的 SerializationInfo 物件有關聯的 SortedSet<T> 物件是無效的。The SerializationInfo object associated with the current SortedSet<T> object is invalid.

備註

呼叫這個方法是一項作業 O(n) ,其中 nCountCalling this method is an O(n) operation, where n is Count.

適用於