NetDataContractSerializer.AssemblyFormat NetDataContractSerializer.AssemblyFormat NetDataContractSerializer.AssemblyFormat NetDataContractSerializer.AssemblyFormat Property

Definition

Gets a value that specifies a method for locating and loading assemblies.

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

Property Value

A FormatterAssemblyStyle enumeration value that specifies a method for locating and loading assemblies.

Exceptions

The value being set does not correspond to any of the FormatterAssemblyStyle values.

Remarks

An AssemblyFormat instance can have two styles: Full or Simple. Specifying Simple allows types in one version to be loaded and deserialized from an instance serialized from a different version.

Applies to