Sdílet prostřednictvím


DataTableMapping.GetDataColumn Metoda

Definice

DataColumn Vrátí objekt pro daný název sloupce.

public:
 System::Data::DataColumn ^ GetDataColumn(System::String ^ sourceColumn, Type ^ dataType, System::Data::DataTable ^ dataTable, System::Data::MissingMappingAction mappingAction, System::Data::MissingSchemaAction schemaAction);
public System.Data.DataColumn? GetDataColumn (string sourceColumn, Type? dataType, System.Data.DataTable dataTable, System.Data.MissingMappingAction mappingAction, System.Data.MissingSchemaAction schemaAction);
public System.Data.DataColumn GetDataColumn (string sourceColumn, Type dataType, System.Data.DataTable dataTable, System.Data.MissingMappingAction mappingAction, System.Data.MissingSchemaAction schemaAction);
member this.GetDataColumn : string * Type * System.Data.DataTable * System.Data.MissingMappingAction * System.Data.MissingSchemaAction -> System.Data.DataColumn
Public Function GetDataColumn (sourceColumn As String, dataType As Type, dataTable As DataTable, mappingAction As MissingMappingAction, schemaAction As MissingSchemaAction) As DataColumn

Parametry

sourceColumn
String

Název procesu DataColumn.

dataType
Type

Datový typ pro sourceColumn.

dataTable
DataTable

Název tabulky z tabulky, na který DataSet chcete namapovat.

mappingAction
MissingMappingAction

Jedna z MissingMappingAction hodnot.

schemaAction
MissingSchemaAction

Jedna z MissingSchemaAction hodnot.

Návraty

Objekt DataColumn .

Platí pro

Viz také