Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

DataMemberAttribute.Order Property

Definition

Namespace:
System.Runtime.Serialization
Assemblies:
System.Runtime.Serialization.dll, System.Runtime.Serialization.Primitives.dll
Assemblies:
netstandard.dll, System.Runtime.Serialization.Primitives.dll
Assembly:
System.Runtime.Serialization.Primitives.dll
Assembly:
System.Runtime.Serialization.dll
Assembly:
netstandard.dll
Source:
DataMemberAttribute.cs
Source:
DataMemberAttribute.cs
Source:
DataMemberAttribute.cs
Source:
DataMemberAttribute.cs
Source:
DataMemberAttribute.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?