Share via


OrderAttribute Class

Definition

Define a order weight of the field or property.

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

Remarks

By default the order weight is 0.

Constructors

OrderAttribute(Int32)

Sets the order weight of the field or property

Properties

Order

Applies to