SecurityPermissionAttribute.SerializationFormatter 屬性

定義

取得或設定值,表示程式碼是否可以使用序列化格式子,將物件序列化或還原序列化。

public:
 property bool SerializationFormatter { bool get(); void set(bool value); };
public bool SerializationFormatter { get; set; }
member this.SerializationFormatter : bool with get, set
Public Property SerializationFormatter As Boolean

屬性值

如果程式碼可以使用序列化格式子,將物件序列化或還原序列化,則為 true;否則為 false

適用於