DataMemberAttribute.Order Property


Gets or sets the order of serialization and deserialization of a member.

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

public int Order { get; set; }

Property Value

Type: System.Int32

The numeric order of serialization or deserialization.

If a type requires that one member be serialized or deserialized before another, use this property to specify the order. For more information, see Data Member Order.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top