Skip to main content

IResultSet.TryGetTable(String, out ITable) Method

Returns a table with the specified name using the table parameter.

Namespace: DevExpress.DataAccess.Sql.DataApi

Assembly: DevExpress.DataAccess.v23.1.dll

NuGet Package: DevExpress.DataAccess


bool TryGetTable(
    string name,
    out ITable table


Name Type Description
name String

A String value that specifies the table name.

table ITable

An object implementing the ITable interface that is the table with the specified name.


Type Description

true, if the table with the specified name exists; otherwise, false.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TryGetTable(String, out ITable) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also