# RemoveAllEntries()

> Removes every entry from this table.

## Definition

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

```csharp
public void RemoveAllEntries()
```

### Remarks

Clears only this locale's values. The shared keys in [ResourceTable.SharedData](/engine/6000.7/script-reference/unity/localization/resourcetable/shareddata.md) and the entries of the other locale tables are untouched.

Additional Resources: [ResourceTable.RemoveEntry](/engine/6000.7/script-reference/unity/localization/resourcetable/removeentry.md), [ResourceTable.Entries](/engine/6000.7/script-reference/unity/localization/resourcetable/entries.md), [SharedTableData](/engine/6000.7/script-reference/unity/localization/sharedtabledata.md)

Clear all of a table's per-locale values.

### Examples

```csharp
using Unity.Localization;
using UnityEngine;

namespace Unity.Localization.Samples
{
    public class ResourceTableRemoveAllEntriesExample
    {
        public void Run()
        {
            var shared = ScriptableObject.CreateInstance<SharedTableData>();
            var table = ScriptableObject.CreateInstance<ResourceTable>();
            table.SharedData = shared;
            table.LocaleIdentifier = "en";

            table.AddStringEntry("Greeting", "Hello");
            table.AddStringEntry("Farewell", "Goodbye");

            table.RemoveAllEntries();
            Debug.Log(table.Entries.Count); // 0
        }
    }
}
```
