Share via

DataMemberAttribute.Order Property


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

 property int Order { int get(); void set(int value); };
public int Order { get; set; }
member this.Order : int with get, set
Public Property Order As Integer

Property Value

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.

Applies to

See also