# FilterInstruction.ColumnName Property

> Gets or sets the name of the table column whose content this merge condition is compared to.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.0
- **Namespace:** `TXTextControl.DocumentServer.DataShaping`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDocumentServer.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl.DocumentServer.DataShaping > FilterInstruction.ColumnName Property
- **417 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-datashaping/filterinstruction/columnname-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-datashaping/filterinstruction/columnname-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-datashaping/filterinstruction/columnname-property/llms-full.txt

---

### Description

Gets or sets the name of the table column whose content this merge condition is compared to.

### Syntax

```csharp
public string ColumnName { get; set; }
```

```vbnet
Public Property ColumnName As String
```

### Examples

The following example uses `FilterInstruction.ColumnName` to configure column name as part of the filter instruction workflow. The configured value is checked before the workflow continues.

```csharp
filterInstruction.ColumnName = "CustomerName";
if (!string.IsNullOrWhiteSpace(filterInstruction.ColumnName))
{
    Console.WriteLine($"Column Name: {filterInstruction.ColumnName}");
}
```

```vbnet
filterInstruction.ColumnName = "CustomerName"
If Not String.IsNullOrWhiteSpace(filterInstruction.ColumnName) Then
    Console.WriteLine($"Column Name: {filterInstruction.ColumnName}")
End If
```

---

## Nearby

- **Previous:** [FilterInstruction Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-datashaping/filterinstruction/llms-full.txt)
- **Next:** [FilterInstruction.CompareTo Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-datashaping/filterinstruction/compareto-property/llms-full.txt)
