Udostępnij za pośrednictwem


DataTableMapping.GetDataColumn Metoda

Definicja

DataColumn Zwraca obiekt dla danej nazwy kolumny.

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

Nazwa elementu DataColumn.

dataType
Type

Typ danych dla elementu sourceColumn.

dataTable
DataTable

Nazwa tabeli z elementu DataSet do mapowania na.

mappingAction
MissingMappingAction

MissingMappingAction Jedna z wartości.

schemaAction
MissingSchemaAction

MissingSchemaAction Jedna z wartości.

Zwraca

Obiekt DataColumn.

Dotyczy

Zobacz też