Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XmlElementAttribute::Order Property

 

Gets or sets the explicit order in which the elements are serialized or deserialized.

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

public:
property int Order {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The order of the code generation.

Use the GenerateOrder enumeration to instruct the ServiceDescriptionImporter to generate code that sets the Order property.

System_CAPS_importantImportant

Once the Order property has been used on one public property or field in a type, it must be applied to all public properties and fields for that type and all inherited types.

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