# Sandbox.ClothingContainer.CreateFromConnection

```csharp
static ClothingContainer CreateFromConnection(Connection connection, bool removeUnowned = True)
```

Create the container from a connection's avatar, filtered to only items they are verified to own.

### Parameters

- `connection` (`Connection`)
- `removeUnowned` (`bool`), default `True`

### Returns

`ClothingContainer`

Declared in [Sandbox.ClothingContainer](/api/Sandbox.ClothingContainer).
Assembly: `Sandbox.Engine`.
