# LoadSettings.ApplicationFieldTypeNames Property

> Specifies an array of strings containing the type names of fields which are to be imported. This property is only taken into account, if the LoadSettings.ApplicationFieldFormat property is set to ApplicationFieldFormat.MSWord or ApplicationFieldFormat.HighEdit. For example, if the LoadSettings.ApplicationFieldFormat is set to ApplicationFieldFormat.MSWord and this array has the single string MERGEFIELD only Microsoft Word Merge Fields are loaded. If this property is null, which is the default value, all fields with the format specified through the LoadSettings.ApplicationFieldFormat are loaded.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 14.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.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 for Windows Forms > Reference > TXTextControl > LoadSettings.ApplicationFieldTypeNames Property
- **718 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/applicationfieldtypenames-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/applicationfieldtypenames-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/applicationfieldtypenames-property/llms-full.txt

---

### Description

Specifies an array of strings containing the type names of fields which are to be imported. This property is only taken into account, if the [LoadSettings.ApplicationFieldFormat](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/applicationfieldformat-property/llms-full.txt) property is set to ApplicationFieldFormat.MSWord or ApplicationFieldFormat.HighEdit. For example, if the [LoadSettings.ApplicationFieldFormat](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/applicationfieldformat-property/llms-full.txt) is set to ApplicationFieldFormat.MSWord and this array has the single string MERGEFIELD only Microsoft Word Merge Fields are loaded. If this property is null, which is the default value, all fields with the format specified through the [LoadSettings.ApplicationFieldFormat](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/applicationfieldformat-property/llms-full.txt) are loaded.

### Syntax

```csharp
public string[] ApplicationFieldTypeNames { get; set; }
```

```vbnet
Public Property ApplicationFieldTypeNames As String()
```

### Examples

The following example configures how a WordprocessingML template is loaded by using `LoadSettings.ApplicationFieldTypeNames`.

```csharp
LoadSettings loadSettings = new();

loadSettings.ApplicationFieldTypeNames = new string[] { "CustomerName" };
if (loadSettings.ApplicationFieldTypeNames != null)
{
    Console.WriteLine("Load Settings: Application Field Type Names is available.");
}

textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings);
```

```vbnet
Dim loadSettings As New LoadSettings()

loadSettings.ApplicationFieldTypeNames = New String() { "CustomerName" }
If loadSettings.ApplicationFieldTypeNames IsNot Nothing Then
    Console.WriteLine("Load Settings: Application Field Type Names is available.")
End If

textControl.Load("template.docx", StreamType.WordprocessingML, loadSettings)
```

### Limitations

Microsoft Word and RTF only.

---

## Nearby

- **Previous:** [LoadSettings.ApplicationFieldFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/applicationfieldformat-property/llms-full.txt)
- **Next:** [LoadSettings.Author Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/loadsettings/author-property/llms-full.txt)
