TX Text Control .NET for Windows Forms

Count Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets the number of elements contained in the collection.

Syntax

public int Count { get; }

Examples

The following example includes the count value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Count: {fieldAdapterCollection.Count}");
Console.WriteLine("Field Adapter Collection is ready for use.");

Limitations

Read only.