---
title: "GridReferredArea.GetValues"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridjs/gridreferredarea/getvalues/"
product: "Aspose.Cells for .NET API Reference"
description: "GridReferredArea method. Gets cell values in this area"
---

## GridReferredArea.GetValues method

Gets cell values in this area.

```csharp
public object GetValues()
```

### Return Value

If this area is invalid, "#REF!" will be returned; If this area is one single cell, then return the cell value object; Otherwise return one array for all values in this area.

### See Also

* class [GridReferredArea](../)
* namespace [Aspose.Cells.GridJs](../../../aspose.cells.gridjs/)
* assembly [Aspose.Cells.GridJs](../../../)


