Redigera

Dela via


DataMemberAttribute.Order Property

Definition

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

public:
 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.

Remarks

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