BinaryFormatter.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

屬性值

序列化繫結器 (Binder),要與這個格式子一起使用。

實作

備註

警告

BinaryFormatter 不安全且無法確保安全。 如需詳細資訊,請參閱 BinaryFormatter 安全性指南

適用於

另請參閱