System.Xml.Serialization.XmlArrayAttribute.Order Property

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

Syntax

public int Order { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the CodeGenerationOptions.GenerateOrder enumeration to instruct the System.Web.Services.Description.ServiceDescriptionImporter to generate code that sets the XmlElementAttribute.Order property.

Note:

Once the XmlElementAttribute.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.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0