DataContractAttribute
Specifies that the type defines or implements a data contract and is serializable by a serializer, such as the DataContractSerializer. To make their type serializable, type authors must define a data contract for their type.
Gets or sets a value that indicates whether to preserve object reference data.
Gets or sets the name of the data contract for the type.
Gets or sets the namespace for the data contract for the type.
public DataContractAttribute()
Initializes a new instance of the DataContractAttribute class.