# Sandbox.Storage.QueryItem.GetMeta

```csharp
T GetMeta(string key, T defaultValue = null)
```

A value its Steam metadata carries from the published meta - for a game, what's needed before it's downloaded,
like its `LaunchMode` and `MaxPlayers`. `defaultValue` if it doesn't have it.

### Parameters

- `key` (`string`)
- `defaultValue` (`T`), default `null`

### Returns

`T`

Declared in [Sandbox.Storage.QueryItem](/api/Sandbox.Storage.QueryItem).
Assembly: `Sandbox.Engine`.
