Skip to main content
A newer version of this page is available. .

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.v18.2.dll

Declaration

bool TryGetTable(
    string name,
    out ITable table
)

Parameters

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.

Returns

Type Description
Boolean

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.

Note

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