BinaryFormatter.TypeFormat Property

Definition

Gets or sets the format in which type descriptions are laid out in the serialized stream.

public:
 property System::Runtime::Serialization::Formatters::FormatterTypeStyle TypeFormat { System::Runtime::Serialization::Formatters::FormatterTypeStyle get(); void set(System::Runtime::Serialization::Formatters::FormatterTypeStyle value); };
public System.Runtime.Serialization.Formatters.FormatterTypeStyle TypeFormat { get; set; }
member this.TypeFormat : System.Runtime.Serialization.Formatters.FormatterTypeStyle with get, set
Public Property TypeFormat As FormatterTypeStyle

Property Value

The style of type layouts to use.

Remarks

Warning

BinaryFormatter is insecure and can't be made secure. For more information, see the BinaryFormatter security guide.

Applies to

See also