# Sandbox.ClothingContainer.RemoveUnownedItems

## Overload 1

```csharp
void RemoveUnownedItems()
```

Removes any clothing items that require Steam inventory ownership but the local user doesn't own.

## Overload 2

```csharp
void RemoveUnownedItems(Connection connection)
```

Removes clothing items that the given connection is not verified to own.
Must be called from the host or from the local player, as clients don't have access to other player inventory data.

### Parameters

- `connection` (`Connection`)

Declared in [Sandbox.ClothingContainer](/api/Sandbox.ClothingContainer).
Assembly: `Sandbox.Engine`.
