# RemoveEntry(long)

> Removes the entry for a stable key id from this table.

## Definition

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

```csharp
public void RemoveEntry(long keyId)
```

### Parameters

**** (\[long]\(https\://learn.microsoft.com/dotnet/api/system.int64)): The stable key id of the entry to remove.

### Remarks

Removes only this locale's value. The key stays in [ResourceTable.SharedData](/engine/6000.7/script-reference/unity/localization/resourcetable/shareddata.md) and the other locale tables keep their entries. Does nothing when no entry matches the id. To drop the key from the whole collection, call [SharedTableData.RemoveKey](/engine/6000.7/script-reference/unity/localization/sharedtabledata/removekey.md) as well.

Additional Resources: [ResourceTable.RemoveAllEntries](/engine/6000.7/script-reference/unity/localization/resourcetable/removeallentries.md), [ResourceTable.AddEntry](/engine/6000.7/script-reference/unity/localization/resourcetable/addentry.md), [SharedTableData](/engine/6000.7/script-reference/unity/localization/sharedtabledata.md)

Remove a single entry and confirm it is gone.

### Examples

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

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

            var entry = table.AddStringEntry("Greeting", "Hello");
            table.RemoveEntry(entry.KeyId);

            Debug.Log(table.GetEntry(entry.KeyId) == null); // True
        }
    }
}
```
