The abstract FieldAdapter class is the base class of all special DocumentServer field adapters. It implements general features like the adapted ApplicationField or the specific TypeName. These special fields can be only used in combination with the ApplicationField class.
Syntax
publicabstractclassFieldAdapter
PublicMustInheritClass FieldAdapter
Examples
The following example includes the application field value from a Field Adapter object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Application Field: {fieldAdapter.ApplicationField}");
Console.WriteLine("Field Adapter is ready for use.");
Console.WriteLine($"Application Field: {fieldAdapter.ApplicationField}")
Console.WriteLine("Field Adapter is ready for use.")
Gets the field's type name of the specific field through its adapter. For example for the type name of a Microsoft Word MergeField is MERGEFIELD. If the type name of the field is changed, its parameters must also be changed.