Back to Devexpress

TableCollection.GetTables(CellRange) Method

officefileapi-devexpress-dot-spreadsheet-dot-tablecollection-dot-gettables-x28-devexpress-dot-spreadsheet-dot-cellrange-x29.md

latest1.9 KB
Original Source

TableCollection.GetTables(CellRange) Method

Gets tables contained in the specified cell range.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
IList<Table> GetTables(
    CellRange range
)
vb
Function GetTables(
    range As CellRange
) As IList(Of Table)

Parameters

NameTypeDescription
rangeCellRange

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

|

Returns

TypeDescription
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

Spreadsheet Tables

TableCollection Interface

TableCollection Members

DevExpress.Spreadsheet Namespace