TXTextControl.DocumentServer.DataSources.DataTableInfoCollection Class

An instance of the DataTableInfoCollection class contains all data tables in a data source represented through objects of the type DataTableInfo. The DataTableInfoCollection class implements the interface ICollection<DocumentServer.DataSources.DataTableInfo> and therefore also IEnumerable<DocumentServer.DataSources.DataTableInfo>. 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 DataTableInfoCollection : ICollection
[Visual Basic]
Public NotInheritable Class DataTableInfoCollection
  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
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
Item Overloaded. Gets a DataTableInfo instance from the collection.

See Also