# ReferenceExpression

- Module: [Aspire.Hosting](/reference/api/typescript/aspire.hosting.md)
- Version: `13.2.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire)

## Definition

```typescript
interface ReferenceExpression
  extends IManifestExpressionProvider,
    IValueProvider,
    IValueWithReferences {
  getValue(cancellationToken: cancellationToken): string;
}
```

## Methods

- [getValue](/reference/api/typescript/aspire.hosting/referenceexpression/getvalue.md) -- `method` -- Gets the resolved string value of the reference expression asynchronously
    ```typescript
  getValue(cancellationToken: cancellationToken): string
  ```
