[Order]

Attribute sets the display order of a field or method.

Support Types

Type
Description

Field

Supported field type

Method

Supported method type

Parameters

Parameter Name
Type
Description

order

int

Display order. Lower values appear first.

Examples

[Order(100)]
public int firstField;

[Order(101)]
public int secondField;

[Order(200)]
public void MyMethod()
{
    // Method implementation
}

Last updated