DataColumnMappingCollection.GetDataColumn(DataColumnMappingCollection, String, Type, DataTable, MissingMappingAction, MissingSchemaAction) DataColumnMappingCollection.GetDataColumn(DataColumnMappingCollection, String, Type, DataTable, MissingMappingAction, MissingSchemaAction) DataColumnMappingCollection.GetDataColumn(DataColumnMappingCollection, String, Type, DataTable, MissingMappingAction, MissingSchemaAction) Method

정의

DataColumn 개체를 인스턴스화하지 않고 DataColumnMappingCollection 개체를 반환하는 정적 메서드입니다.A static method that returns a DataColumn object without instantiating a DataColumnMappingCollection object.

public:
 static System::Data::DataColumn ^ GetDataColumn(System::Data::Common::DataColumnMappingCollection ^ columnMappings, System::String ^ sourceColumn, Type ^ dataType, System::Data::DataTable ^ dataTable, System::Data::MissingMappingAction mappingAction, System::Data::MissingSchemaAction schemaAction);
public static System.Data.DataColumn GetDataColumn (System.Data.Common.DataColumnMappingCollection columnMappings, string sourceColumn, Type dataType, System.Data.DataTable dataTable, System.Data.MissingMappingAction mappingAction, System.Data.MissingSchemaAction schemaAction);
static member GetDataColumn : System.Data.Common.DataColumnMappingCollection * string * Type * System.Data.DataTable * System.Data.MissingMappingAction * System.Data.MissingSchemaAction -> System.Data.DataColumn

매개 변수

sourceColumn
String String String

데이터 소스의 대/소문자 구분 열입니다.The case-sensitive column name from a data source.

dataType
Type Type Type

매핑되는 열의 데이터 형식입니다.The data type for the column being mapped.

dataTable
DataTable DataTable DataTable

DataTable의 인스턴스입니다.An instance of DataTable.

schemaAction
MissingSchemaAction MissingSchemaAction MissingSchemaAction

기존 DataSet 스키마가 들어오는 데이터와 일치하지 않는 경우 수행할 동작을 결정합니다.Determines the action to take when the existing DataSet schema does not match incoming data.

반환

적용 대상

추가 정보