# DisplayOrderAnnotation Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [DisplayOrderAnnotation](/reference/api/csharp/aspire.hosting/displayorderannotation.md)
- Kind: `Properties`
- Members: `1`

The default display order of a resource in lists of resources. Higher values appear first, consistent with [ResourceUrlAnnotation.DisplayOrder](/reference/api/csharp/aspire.hosting/resourceurlannotation/properties.md#displayorder). Resources without a display order are treated as having an order of 0.

<a id="order"></a>

## Order

- Name: `Order`
- Modifiers: `get`
- Returns: `int`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/2d325b13709752ba6d9a943635c5e2940a2530c0/src/Aspire.Hosting/ApplicationModel/DisplayOrderAnnotation.cs#L17)

Gets the display order. Higher values appear first.

```csharp
public int Order { get; }
```
