TXTextControl.DocumentServer.DataSources.DataColumnInfoCollection Class

An instance of the DataColumnInfoCollection class contains all data columns of a data table in a data source represented through objects of the type DataColumnInfo. The DataColumnInfoCollection class implements the interface ICollection<DocumentServer.DataSources.DataColumnInfo> and therefore also IEnumerable<DocumentServer.DataSources.DataColumnInfo>. This collection class is meant to be read only. For this reason all ICollection members which would cause changes to the collection content (e. g. Add(), Clear() or Remove()) throw a NotSupportedException.

Introduced: 24.0.

Syntax

[C#]
public sealed class DataColumnInfoCollection : ICollection
[Visual Basic]
Public NotInheritable Class DataColumnInfoCollection
  Inherits ICollection

Properties

Property Description
Count Gets the number of elements contained in the collection.
IsReadOnly Gets a value indicating whether the collection is read only.

Methods

Method Description
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
Item Gets the DataColumnInfo instance with the specified 0-based index from the collection.

See Also