BinaryMessageFormatter.TypeFormat プロパティ

定義

型の記述を、シリアル化されたストリームにどのようにレイアウトするかを定義する値を取得または設定します。

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

プロパティ値

型の説明形式を定義する列挙値の 1 つ。

属性

注釈

重要

このクラスのメソッドを信頼されていないデータを指定して呼び出すことには、セキュリティ上のリスクが伴います。 このクラスのメソッドの呼び出しは、信頼されたデータだけを指定して実行してください。 詳細については、「 すべての入力を検証する」を参照してください。

現時点では、 の既定値 TypesWhenNeededをそのまま使用する必要があります。

適用対象

こちらもご覧ください