Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NetDataContractSerializer.AssemblyFormat Property

Definition

Namespace:
System.Runtime.Serialization
Assembly:
System.Runtime.Serialization.dll

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

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


Feedback

Was this page helpful?