DataContractSerializerSettings Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Specifies data contract serializer settings.
Assembly: System.Runtime.Serialization (in System.Runtime.Serialization.dll)
The DataContractSerializerSettings type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | DataContractSerializerSettings | Initializes a new instance of the DataContractSerializerSettings class. |
| Name | Description | |
|---|---|---|
![]() | DataContractResolver | Gets or sets the component used to dynamically map xsi:type declarations to known contract types. |
![]() | KnownTypes | Gets or sets a collection of types that may be present in the object graph serialized using this instance of the DataContractSerializerSettings. |
![]() | MaxItemsInObjectGraph | Gets or sets the maximum number of items in an object graph to serialize or deserialize. |
![]() | PreserveObjectReferences | Gets or sets a value that specifies whether to use non-standard XML constructs to preserve object reference data. |
![]() | RootName | Gets or sets the root name of the selected object. |
![]() | RootNamespace | Gets or sets the root namespace for the specified object. |
![]() | SerializeReadOnlyTypes | Gets or sets a value that specifies whether to serialize read only types. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Show:


