SecurityPermissionAttribute.SerializationFormatter 屬性

定義

取得或設定值,表示程式碼是否可以使用序列化格式子,將物件序列化或還原序列化。Gets or sets a value indicating whether code can use a serialization formatter to serialize or deserialize an object.

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

屬性值

Boolean

如果程式碼可以使用序列化格式子,將物件序列化或還原序列化,則為 true;否則為 falsetrue if code can use a serialization formatter to serialize or deserialize an object; otherwise, false.

適用於