# Sandbox.UI.StyleSheetCollection.Remove

## Overload 1

```csharp
void Remove(StyleSheet sheet)
```

Remove a specific [Sandbox.UI.StyleSheet](/api/Sandbox.UI.StyleSheet) from the collection.

### Parameters

- `sheet` (`StyleSheet`)

## Overload 2

```csharp
void Remove(string wildcardGlob)
```

Remove all stylesheets whose filename matches this wildcard glob.

### Parameters

- `wildcardGlob` (`string`)

Declared in [Sandbox.UI.StyleSheetCollection](/api/Sandbox.UI.StyleSheetCollection).
Assembly: `Sandbox.Engine`.
