# TableBaseCollection.Remove Method

> Removes a particular table from the collection.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 11.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > TableBaseCollection.Remove Method
- **379 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/tablebasecollection/remove-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/tablebasecollection/remove-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/tablebasecollection/remove-method/llms-full.txt

---

### Description

Removes a particular table from the collection.

### Syntax

```csharp
public bool Remove(int id);
```

```vbnet
Public Function Remove(id As Integer) As Boolean
```

### Parameters

| Parameter | Description |
|---|---|
| id | Specifies the table's identifier. |

### Return Value

The return value is true, if a table could be removed. Otherwise it is false.

### Examples

The following example removes an item from the table base collection.

```csharp
if (tableBaseCollection.Remove(100))
{
    Console.WriteLine("Remove completed successfully.");
}
```

```vbnet
If tableBaseCollection.Remove(100) Then
    Console.WriteLine("Remove completed successfully.")
End If
```

---

## Nearby

- **Previous:** [TableBaseCollection.IsSynchronized Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/tablebasecollection/issynchronized-property/llms-full.txt)
- **Next:** [TableBaseCollection.SyncRoot Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/tablebasecollection/syncroot-property/llms-full.txt)
