SecurityPermissionAttribute.SerializationFormatter SecurityPermissionAttribute.SerializationFormatter SecurityPermissionAttribute.SerializationFormatter SecurityPermissionAttribute.SerializationFormatter Property

定義

取得或設定值,表示程式碼是否可以使用序列化 (Serialization) 格式子 (Formatter) 來序列化或還原序列化物件。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

屬性值

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

適用於