FieldAdapter Constructor
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Initializes a new instance of the FieldAdapter class.
Syntax
FieldAdapter()
Initializes a complete new instance of the FieldAdapter class without a connection to an existing ApplicationField.
public FieldAdapter();Public Sub New()FieldAdapter(ApplicationField)
Initializes a new instance of the FieldAdapter class with a connection to an existing ApplicationField.
public FieldAdapter(ApplicationField appField);Public Sub New(appField As ApplicationField)| Parameter | Description |
|---|---|
| appField | Specifies the ApplicationField to be adapted. |
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.")