Skip to main content

ITable.TryGetColumn(String, out IColumn) Method

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

Namespace: DevExpress.DataAccess.Sql.DataApi

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

bool TryGetColumn(
    string name,
    out IColumn column
)

Parameters

Name Type Description
name String

A String value that specifies the column name.

column IColumn

An object implementing the IColumn interface that is the column with the specified name.

Returns

Type Description
Boolean

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

See Also