ColumnCollection

ColumnCollection class

Represents collection of columns in a table.

public sealed class ColumnCollection : DomObject<RowCollection>, IColumnCollection

Properties

Name Description
Count { get; } Returns the number of columns in a collection. Read-only Int32.
IsSynchronized { get; } Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Item { get; } Returns the column at the specified index. Read-only Column.
SyncRoot { get; } Returns a synchronization root. Read-only Object.

Methods

Name Description
AddClone(IColumn, bool) Creates a copy of the specified template row and inserts it at the bottom of a table.
CopyTo(Array, int) Copies all elements from the collection to the specified array.
GetEnumerator() Returns an enumerator that iterates through the collection.
InsertClone(int, IColumn, bool) Creates a copy of the specified template column and insert it at the specified position in a table.
RemoveAt(int, bool) Removes a column at the specified position from a table.

See Also