BinaryMessageFormatter.TopObjectFormat 屬性

定義

取得或設定值,定義在尋找和載入圖形之最上層 (根) 物件的組件時還原序列化它的方式。

public:
 property System::Runtime::Serialization::Formatters::FormatterAssemblyStyle TopObjectFormat { System::Runtime::Serialization::Formatters::FormatterAssemblyStyle get(); void set(System::Runtime::Serialization::Formatters::FormatterAssemblyStyle value); };
[System.Messaging.MessagingDescription("MsgTopObjectFormat")]
public System.Runtime.Serialization.Formatters.FormatterAssemblyStyle TopObjectFormat { get; set; }
[<System.Messaging.MessagingDescription("MsgTopObjectFormat")>]
member this.TopObjectFormat : System.Runtime.Serialization.Formatters.FormatterAssemblyStyle with get, set
Public Property TopObjectFormat As FormatterAssemblyStyle

屬性值

其中一個列舉值,定義還原串行化行為。

屬性

備註

重要

使用不信任的資料呼叫此類別的方法,會造成安全性上的風險。 呼叫此類別的方法時,請一律使用信任的資料。 如需詳細資訊,請參閱 驗證所有輸入

目前,您應該接受預設值 。 AssemblyStyle

適用於

另請參閱