# UnregisterCollection(IAssetProvider, ResourceTableCollection)

> Removes every per-locale table in a collection from a provider.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Localization.Editor](/engine/6000.7/script-reference/unity/localization/editor.md)
* **Assembly:** UnityEditor

```csharp
public virtual void UnregisterCollection(IAssetProvider provider, ResourceTableCollection collection)
```

### Parameters

**** (\[IAssetProvider]\(/engine/6000.7/script-reference/unity/localization/providers/iassetprovider)): The provider instance from the settings chain.**** (\[ResourceTableCollection]\(/engine/6000.7/script-reference/unity/localization/editor/resourcetablecollection)): The collection whose tables to remove.

### Remarks

Called when a collection moves to a different provider so the previous provider drops its stale mappings.
