XmlAnyElementAttribute.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 int Order { get; set; }

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: