ContentControlFieldAdapter 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 ContentControlFieldAdapter class.
Syntax
ContentControlFieldAdapter()
Initializes a complete new instance of the ContentControlFieldAdapter class without a connection to an existing ApplicationField.
public ContentControlFieldAdapter();Public Sub New()ContentControlFieldAdapter(ApplicationField)
Initializes a new instance of the ContentControlFieldAdapter class with a connection to an existing ApplicationField.
public ContentControlFieldAdapter(ApplicationField appField);Public Sub New(appField As ApplicationField)| Parameter | Description |
|---|---|
| appField | Specifies the ApplicationField to be adapted. |
Examples
The following example includes the type name value from a Content Control Field Adapter object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Type Name: {contentControlFieldAdapter.TypeName}");
Console.WriteLine("Content Control Field Adapter is ready for use.");Console.WriteLine($"Type Name: {contentControlFieldAdapter.TypeName}")
Console.WriteLine("Content Control Field Adapter is ready for use.")