Click or drag to resize
System.Runtime.Serialization Namespace
The System.Runtime.Serialization namespace contains classes that can be used for serializing and deserializing objects. Serialization is the process of converting an object or a graph of objects into a linear sequence of bytes for either storage or transmission to another location. Deserialization is the process of taking in stored information and recreating objects from it.
Public classCollectionDataContractAttribute
When applied to a collection type, enables custom specification of the collection item elements. This attribute can be applied only to types that are recognized by the System.Runtime.Serialization.DataContractSerializer as valid, serializable collections.
Public classDataContractAttribute
Specifies that the type defines or implements a data contract and is serializable by a serializer, such as the System.Runtime.Serialization.DataContractSerializer. To make their type serializable, type authors must define a data contract for their type.
Public classDataMemberAttribute
When applied to the member of a type, specifies that the member is part of a data contract and is serializable by the System.Runtime.Serialization.DataContractSerializer.
Public classEnumMemberAttribute
Specifies that the field is an enumeration member and should be serialized.
Public classExtensionDataObject
Stores data from a versioned data contract that has been extended by adding new members.
Public classKnownTypeAttribute
Specifies types that should be recognized by the System.Runtime.Serialization.DataContractSerializer when serializing or deserializing a given type.
Public interfaceIExtensibleDataObject
Provides a data structure to store extra data encountered by the System.Runtime.Serialization.XmlObjectSerializer during deserialization of a type marked with the System.Runtime.Serialization.DataContractAttribute attribute.