DBTable.GetColumn(String) Method
Creates a new column with the specified name and appends it to the DBTable.Columns collection.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Data.v24.1.dll
NuGet Package: DevExpress.Data
Declaration
Parameters
Name | Type | Description |
---|---|---|
columnName | String | A String value that specifies the column’s name. This value is assigned to the DBColumn.Name property. |
Returns
Type | Description |
---|---|
DBColumn | A DBColumn object that represents the new column. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetColumn(String) 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.