# FormattingStyleCollection.GetEnumerator Method

> Returns an enumerator that can be used to iterate through the collection.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 10.1
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl > FormattingStyleCollection.GetEnumerator Method
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/formattingstylecollection/getenumerator-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/formattingstylecollection/getenumerator-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/formattingstylecollection/getenumerator-method/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/formattingstylecollection/getenumerator-method/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/formattingstylecollection/getenumerator-method/#syntax)
- [Return Value](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/formattingstylecollection/getenumerator-method/#return-value)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/formattingstylecollection/getenumerator-method/#examples)

---

## Nearby

- **Previous:** [FormattingStyleCollection.Count Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/formattingstylecollection/count-property/llms.txt)
- **Next:** [FormattingStyleCollection.IsSynchronized Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/formattingstylecollection/issynchronized-property/llms.txt)
