Click or drag to resize

ColumnCollection Class

Represents collection of columns in a table.
Inheritance Hierarchy
System Object
Spire.Presentation.Collections ColumnList
Spire.Presentation.Collections ColumnCollection

Namespace: Spire.Presentation.Collections
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public sealed class ColumnCollection : ColumnList, 
	ICollection, IEnumerable

The ColumnCollection type exposes the following members.

Properties
Name Description
Public property Count
Gets the number of columns in a collection. Read-only Int32 .
(Inherited from ColumnList .)
Public property IsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread-safe).
Public property Item
Gets the column at the specified index. Read-only TableColumn .
(Inherited from ColumnList .)
Public property SyncRoot
Gets a synchronization root. Readonly Object .
Top
Methods
Name Description
Public method Add
Insert column in a table.
(Inherited from ColumnList .)
Public method CopyTo
Copies all elements from the collection to the specified array.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Public method GetEnumerator
Gets an enumerator for the entire collection.
(Inherited from ColumnList .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method Insert
Insert column in a table.
(Inherited from ColumnList .)
Public method RemoveAt
Removes a column at the specified position from a table.
(Inherited from ColumnList .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also