# CommandResultData Properties

- Package: [Aspire.Hosting](/reference/api/csharp/aspire.hosting.md)
- Type: [CommandResultData](/reference/api/csharp/aspire.hosting/commandresultdata.md)
- Kind: `Properties`
- Members: `3`

Represents a value produced by a command.

## DisplayImmediately

- Name: `DisplayImmediately`
- Modifiers: `get; init`
- Returns: `bool`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ResourceCommandAnnotation.cs)

When `true`, the dashboard will immediately display the value in a dialog when the command completes.

```csharp
public bool DisplayImmediately { get; init; }
```

## Format

- Name: `Format`
- Modifiers: `get; init`
- Returns: [CommandResultFormat](/reference/api/csharp/aspire.hosting/commandresultformat.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ResourceCommandAnnotation.cs)

The format of the [CommandResultData.Value](/reference/api/csharp/aspire.hosting/commandresultdata/properties.md#value) data.

```csharp
public CommandResultFormat Format { get; init; }
```

## Value

- Name: `Value`
- Modifiers: `get; init`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/bd20f904cde09ecb9c9ae5116a6f13614bf2d7c2/src/Aspire.Hosting/ApplicationModel/ResourceCommandAnnotation.cs)

The value data.

```csharp
public string Value { get; init; }
```
