## GridColumnCollection class

Collects the  objects that represent the individual columns in a worksheet.

```csharp
public class GridColumnCollection
```

## Properties

| Name | Description |
| --- | --- |
| [Count](../../aspose.cells.gridweb.data/gridcolumncollection/count/) { get; } | Gets the size of enumerator |
| [Item](../../aspose.cells.gridweb.data/gridcolumncollection/item/) { get; } | Gets a  object by column index. The Column object of given column index will be instantiated if it does not exist before. |

## Methods

| Name | Description |
| --- | --- |
| [GetColumnByIndex](../../aspose.cells.gridweb.data/gridcolumncollection/getcolumnbyindex/)(int) | Gets the [`GridColumn`](../gridcolumn/) object by the position in the list. |
| [GetEnumerator](../../aspose.cells.gridweb.data/gridcolumncollection/getenumerator/)() | Gets the columns enumerator |

### See Also

* namespace [Aspose.Cells.GridWeb.Data](../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../)


