TX Text Control .NET for Windows Forms

Count Property

Property|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.DataSources
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: {dataRelationInfoCollection.Count}");
Console.WriteLine("Data Relation Info Collection is ready for use.");

Limitations

Read only.