IFormatter.Binder 屬性

定義

取得或設定 在 SerializationBinder 反序列化期間執行型別查詢。

public:
 property System::Runtime::Serialization::SerializationBinder ^ Binder { System::Runtime::Serialization::SerializationBinder ^ get(); void set(System::Runtime::Serialization::SerializationBinder ^ value); };
public System.Runtime.Serialization.SerializationBinder? Binder { get; set; }
public System.Runtime.Serialization.SerializationBinder Binder { get; set; }
member this.Binder : System.Runtime.Serialization.SerializationBinder with get, set
Public Property Binder As SerializationBinder

屬性值

SerializationBinder 個在反序列化時會執行型別查詢。

備註

當嘗試從串流中編碼的資訊解析型別時,格式化器會呼叫 BindToTypeSerializationBinder. 此方法將這些參數解析為物件 Type 。 活頁夾器可以在解序列時找到 Type 一個在序列化時不同組件的組合。

設定此屬性在序列化期間不影響。

適用於