# DocumentController.FieldAdapterCollection.Item Property

> Gets the DocumentServer.Fields.FieldAdapter instance at the specified index from the collection. In C# this property is the indexer for the FieldAdapterCollection class.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **Namespace:** `TXTextControl.DocumentServer`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer > DocumentController.FieldAdapterCollection.Item Property
- **426 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/documentcontroller-fieldadaptercollection/item-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/documentcontroller-fieldadaptercollection/item-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/documentcontroller-fieldadaptercollection/item-property/llms-full.txt

---

### Description

Gets the [DocumentServer.Fields.FieldAdapter](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/fieldadapter/llms-full.txt) instance at the specified index from the collection. In C# this property is the indexer for the FieldAdapterCollection class.

### Syntax

```csharp
public FieldAdapter this[int index] { get; }
```

```vbnet
Default Public ReadOnly Property Item(index As Integer) As FieldAdapter
```

### Examples

The following example includes the item value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Item: {fieldAdapterCollection[1]}");
Console.WriteLine("Field Adapter Collection is ready for use.");
```

```vbnet
Console.WriteLine($"Item: {fieldAdapterCollection.Item(1)}")
Console.WriteLine("Field Adapter Collection is ready for use.")
```

### Limitations

Read only.

### Remarks

If there is no adapter for the type of field at the given index, the property returns null. Otherwise, it is an object of type [DocumentServer.Fields.FieldAdapter](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/fieldadapter/llms-full.txt)

---

## Nearby

- **Previous:** [DocumentController.FieldAdapterCollection.IndexOf Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/documentcontroller-fieldadaptercollection/indexof-method/llms-full.txt)
- **Next:** [DocumentController.GetBlockFieldNames Method](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/documentcontroller/getblockfieldnames-method/llms-full.txt)
