Excel |
The ExcelColumnCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| Count |
Gets the number of currently allocated elements.
(Inherited from ExcelCollectionBase) | |
| ItemInt32 | Gets the column with the specified index. | |
| ItemString | Gets the column with the specified name. |
| Name | Description | |
|---|---|---|
| ColIndexToName | Converts column index (0, 1, ...) to column name ("A", "B", ...). | |
| ColNameToIndex | Converts column name ("A", "B", ...) to column index (0, 1, ...). | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetEnumerator |
Returns an enumerator for the ExcelCollectionBase.
(Inherited from ExcelCollectionBase) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
Notice: If you want to find last column occupied with data, use CalculateMaxUsedColumns method.