System.Data.Common.DataColumnMapping.GetDataColumnBySchemaAction Method

Gets a System.Data.DataColumn from the given System.Data.DataTable using the System.Data.MissingSchemaAction and the DataColumnMapping.DataSetColumn property.

Syntax

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)]
public System.Data.DataColumn GetDataColumnBySchemaAction (System.Data.DataTable dataTable, Type dataType, System.Data.MissingSchemaAction schemaAction)

Parameters

dataTable
The System.Data.DataTable to get the column from.
dataType
The Type of the data column.
schemaAction
One of the System.Data.MissingSchemaAction values.

Returns

A data column.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Data.Common
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0