ModelMetadata.Order Property

Definition

Gets a value indicating where the current metadata should be ordered relative to other properties in its containing type.

C#
public abstract int Order { get; }

Property Value

The order value of the current metadata.

Remarks

For example this property is used to order items in Properties.

The default order is 10000.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0