TX Text Control .NET Server

Count Property

Property|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

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.