# Sandbox.Metadata.TryGetValue

```csharp
bool TryGetValue(string key, out T outValue)
```

Try to get a value of the specified type.

### Parameters

- `key` (`string`)
- `out outValue` (`T`)

### Returns

`bool`

Declared in [Sandbox.Metadata](/api/Sandbox.Metadata).
Assembly: `Sandbox.Engine`.
