NetDataContractSerializer.AssemblyFormat Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A FormatterAssemblyStyle enumeration value that specifies a method for locating and loading assemblies.
The value being set does not correspond to any of the FormatterAssemblyStyle values.
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.
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: