Share via


PropertyOrderAttribute Class

Definition

PropertyOrderAttribute specifies the order of properties in serialization.

[System.AttributeUsage(System.AttributeTargets.Property)]
public class PropertyOrderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type PropertyOrderAttribute = class
    inherit Attribute
Public Class PropertyOrderAttribute
Inherits Attribute
Inheritance
PropertyOrderAttribute
Attributes

Constructors

PropertyOrderAttribute(Int32)

Initializes the PropertyOrderAttribute object.

Properties

Order

Gets the serialization order for the associated property.

Applies to