---
title: "GridColumnCollection.GetColumnByIndex"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridweb.data/gridcolumncollection/getcolumnbyindex/"
product: "Aspose.Cells for .NET API Reference"
description: "GridColumnCollection method. Gets the GridColumn object by the position in the list"
---

## GridColumnCollection.GetColumnByIndex method

Gets the [`GridColumn`](../../gridcolumn/) object by the position in the list.

```csharp
public GridColumn GetColumnByIndex(int index)
```

| Parameter | Type | Description |
| --- | --- | --- |
| index | Int32 | The position in the list. |

### Return Value

Returns the column object.

### See Also

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


