# NameCollection Class

> NameCollection class in the TX Sheet Control .NET API: Case-insensitive workbook or worksheet names; every operation uses the same scope as the JS collection.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Inherits:** `TXTextControl.TXSheetControl.Server.DocumentObject`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > NameCollection Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/#syntax)
- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/#see-also)

---

## In This Section

- [NameCollection.GetAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/getasync-method/llms.txt): NameCollection.GetAsync method in the TX Sheet Control .NET API: Looks up a name in this explicit scope; unknown names raise a document error.
- [NameCollection.ListAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/listasync-method/llms.txt): NameCollection.ListAsync method in the TX Sheet Control .NET API: Reads detached definitions in this collection's scope.
- [NameCollection.RemoveAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/removeasync-method/llms.txt): NameCollection.RemoveAsync method in the TX Sheet Control .NET API: Removes a definition in this scope; formulas subsequently report an unresolved name.
- [NameCollection.SetAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/setasync-method/llms.txt): NameCollection.SetAsync method in the TX Sheet Control .NET API: Creates or replaces a formula/reference definition in this scope, as one undoable transaction.

---

## Nearby

- **Previous:** [MailMergeTemplate.SaveAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/mailmergetemplate/saveasync-method/llms.txt)
- **Next:** [NameCollection.GetAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/namecollection/getasync-method/llms.txt)
