Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

TableCollection.GetTables(CellRange) Method

Gets tables contained in the specified cell range.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v21.2.Core.dll

Declaration

IList<Table> GetTables(
    CellRange range
)

Parameters

Name Type Description
range CellRange

A CellRange object specifying a cell range that contains tables to be returned.

Returns

Type Description
IList<Table>

A collection of tables within the specified range of cells.

Remarks

The GetTables method returns all tables containing cell ranges that intersect the specified cell range. To check whether a table is contained in the worksheet, use the TableCollection.Contains method.

See Also