---
title: "GridRow.GetCellByIndex"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridweb.data/gridrow/getcellbyindex/"
product: "Aspose.Cells for .NET API Reference"
description: "GridRow method. Get the cell by specific index in the list"
---

## GridRow.GetCellByIndex method

Get the cell by specific index in the list.

```csharp
[Obsolete("Use GridRow.GetEnumerator() method to iterate all cells in this row instead.")]
public GridCell GetCellByIndex(int index)
```

| Parameter | Type | Description |
| --- | --- | --- |
| index | Int32 | The position. |

### Return Value

The Cell object.

### Remarks

NOTE: This member is now obsolete. Instead,please use Row.GetEnumerator() method to iterate all cells in this row. This property will be removed 12 months later since February 2015. Aspose apologizes for any inconvenience you may have experienced.

### See Also

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


