TX Text Control .NET for Windows Forms

Item 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 DataRelationInfo instance with the specified 0-based index from the collection. In C# this property is the indexer for the DataRelationInfoCollection class.

Syntax

public DataRelationInfo this[int index] { get; }

Examples

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

Console.WriteLine($"Item: {dataRelationInfoCollection[1]}");
Console.WriteLine("Data Relation Info Collection is ready for use.");

Limitations

Read only.