# MailMerge.IncludeTextMergingEventArgs.Filename Property

> Gets a string that indicates the file name of the IncludeText field to be merged.

- **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 > MailMerge.IncludeTextMergingEventArgs.Filename Property
- **305 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/mailmerge-includetextmergingeventargs/filename-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/mailmerge-includetextmergingeventargs/filename-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/mailmerge-includetextmergingeventargs/filename-property/llms-full.txt

---

### Description

Gets a string that indicates the file name of the IncludeText field to be merged.

### Syntax

```csharp
public readonly string Filename;
```

```vbnet
Public ReadOnly Filename As String
```

### Examples

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

```csharp
Console.WriteLine($"Filename: {includeTextMergingEventArgs.Filename}");
Console.WriteLine("Include Text Merging Event Args is ready for use.");
```

```vbnet
Console.WriteLine($"Filename: {includeTextMergingEventArgs.Filename}")
Console.WriteLine("Include Text Merging Event Args is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [MailMerge.IncludeTextMergingEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/mailmerge-includetextmergingeventargs/llms-full.txt)
- **Next:** [MailMerge.IncludeTextMergingEventArgs.IncludeTextDocument Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver/mailmerge-includetextmergingeventargs/includetextdocument-property/llms-full.txt)
