System.Runtime.Serialization Namespace |
Class | Description | |
---|---|---|
CollectionDataContractAttribute |
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.
| |
DataContractAttribute |
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.
| |
DataMemberAttribute |
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.
| |
EnumMemberAttribute |
Specifies that the field is an enumeration member and should be serialized.
| |
ExtensionDataObject |
Stores data from a versioned data contract that has been extended by adding
new members.
| |
KnownTypeAttribute |
Specifies types that should be recognized by the System.Runtime.Serialization.DataContractSerializer
when serializing or deserializing a given type.
|
Interface | Description | |
---|---|---|
IExtensibleDataObject |
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.
|