# RibbonListView.RibbonListViewItemCollection.Add Method

> Adds an item of the type RibbonListViewItem to the end of this collection.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonListView.RibbonListViewItemCollection.Add Method
- **455 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/add-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/add-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/add-method/llms-full.txt

---

### Description

Adds an item of the type [RibbonListViewItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitem/llms-full.txt) to the end of this collection.

### Syntax

```csharp
public int Add(RibbonListView.RibbonListViewItem item);
```

```vbnet
Public Function Add(item As RibbonListView.RibbonListViewItem) As Integer
```

### Parameters

| Parameter | Description |
|---|---|
| item | The item to be added to the end of this collection. |

### Return Value

The collection's index at which the value has been added.

### Examples

The following example adds an item to the ribbon list view item collection.

```csharp
var result = ribbonListViewItemCollection.Add(new TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem());
Console.WriteLine($"Add result: {result}");
```

```vbnet
Dim result = ribbonListViewItemCollection.Add(New TXTextControl.Windows.Forms.Ribbon.RibbonListView.RibbonListViewItem())
Console.WriteLine($"Add result: {result}")
```

---

## Nearby

- **Previous:** [RibbonListView.RibbonListViewItemCollection Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/llms-full.txt)
- **Next:** [RibbonListView.RibbonListViewItemCollection.Item Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview-ribbonlistviewitemcollection/item-property/llms-full.txt)
