# FieldAdapter.ID Property

> Gets the ID of the specific field through its adapter.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.0
- **Namespace:** `TXTextControl.DocumentServer.Fields`
- **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.Fields > FieldAdapter.ID Property
- **290 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/fieldadapter/id-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/fieldadapter/id-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/fieldadapter/id-property/llms-full.txt

---

### Description

Gets the ID of the specific field through its adapter.

### Syntax

```csharp
public int ID { get; set; }
```

```vbnet
Public Property ID As Integer
```

### Examples

The following example uses `FieldAdapter.ID` to give the field adapter a stable numeric identifier. The configured value is checked before the workflow continues.

```csharp
fieldAdapter.ID = 100;
Console.WriteLine($"ID used by Field Adapter: {fieldAdapter.ID}");
```

```vbnet
fieldAdapter.ID = 100
Console.WriteLine($"ID used by Field Adapter: {fieldAdapter.ID}")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [FieldAdapter Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/fieldadapter/constructor/llms-full.txt)
- **Next:** [FieldAdapter.Length Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/fieldadapter/length-property/llms-full.txt)
