Item Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the DocumentServer.Fields.FieldAdapter instance at the specified index from the collection. In C# this property is the indexer for the FieldAdapterCollection class.
Syntax
public FieldAdapter this[int index] { get; }Default Public ReadOnly Property Item(index As Integer) As FieldAdapterExamples
The following example includes the item value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Item: {fieldAdapterCollection[1]}");
Console.WriteLine("Field Adapter Collection is ready for use.");Console.WriteLine($"Item: {fieldAdapterCollection.Item(1)}")
Console.WriteLine("Field Adapter Collection is ready for use.")Limitations
Read only.
Remarks
If there is no adapter for the type of field at the given index, the property returns null. Otherwise, it is an object of type DocumentServer.Fields.FieldAdapter