BaseDataListDesigner.GetDesignTimeDataSource 메서드

정의

디자인 타임에 데이터 원본으로 사용할 수 있는 개체를 생성합니다.

오버로드

Name Description
GetDesignTimeDataSource(Int32, Boolean)

디자인 타임에 데이터 원본으로 사용할 수 있는 개체를 생성합니다.

GetDesignTimeDataSource(IEnumerable, Int32, Boolean)

디자인 타임에 데이터 원본으로 사용할 수 있는 개체를 생성합니다.

GetDesignTimeDataSource(Int32, Boolean)

디자인 타임에 데이터 원본으로 사용할 수 있는 개체를 생성합니다.

protected:
 System::Collections::IEnumerable ^ GetDesignTimeDataSource(int minimumRows, [Runtime::InteropServices::Out] bool % dummyDataSource);
protected System.Collections.IEnumerable GetDesignTimeDataSource(int minimumRows, out bool dummyDataSource);
member this.GetDesignTimeDataSource : int * bool -> System.Collections.IEnumerable
Protected Function GetDesignTimeDataSource (minimumRows As Integer, ByRef dummyDataSource As Boolean) As IEnumerable

매개 변수

minimumRows
Int32

데이터 원본에 포함해야 하는 샘플 데이터의 최소 행 수입니다.

dummyDataSource
Boolean

true 반환된 데이터 원본에 더미 데이터가 포함되어 있으면 이고, false 반환된 데이터 원본에 실제 데이터 원본의 데이터가 포함되어 있으면 입니다.

반품

디자인 타임에 IEnumerable 사용할 데이터 원본 역할을 하는 인터페이스를 구현하는 개체입니다.

설명

메서드는 BaseDataListDesigner.GetDesignTimeDataSource 및 속성에 DataTable 의해 정의된 데이터 원본에서 개체를 DataSource 생성 DataMember 하려고 시도합니다. 이것이 가능하지 않으면 더미 데이터에서 만듭니다 DataTable .

추가 정보

적용 대상

GetDesignTimeDataSource(IEnumerable, Int32, Boolean)

디자인 타임에 데이터 원본으로 사용할 수 있는 개체를 생성합니다.

protected:
 System::Collections::IEnumerable ^ GetDesignTimeDataSource(System::Collections::IEnumerable ^ selectedDataSource, int minimumRows, [Runtime::InteropServices::Out] bool % dummyDataSource);
protected System.Collections.IEnumerable GetDesignTimeDataSource(System.Collections.IEnumerable selectedDataSource, int minimumRows, out bool dummyDataSource);
member this.GetDesignTimeDataSource : System.Collections.IEnumerable * int * bool -> System.Collections.IEnumerable
Protected Function GetDesignTimeDataSource (selectedDataSource As IEnumerable, minimumRows As Integer, ByRef dummyDataSource As Boolean) As IEnumerable

매개 변수

selectedDataSource
IEnumerable

데이터 형식에 IEnumerable 대한 템플릿으로 사용되는 개체입니다.

minimumRows
Int32

데이터 원본 데이터에 포함해야 하는 샘플 데이터의 최소 행 수입니다.

dummyDataSource
Boolean

true 반환된 데이터 원본에 더미 데이터가 포함되어 있으면 이고, false 반환된 데이터 원본에 실제 데이터 원본의 데이터가 포함되어 있으면 입니다.

반품

디자인 타임에 IEnumerable 사용할 데이터 원본 역할을 하는 인터페이스를 구현하는 개체입니다.

설명

메서드는 BaseDataListDesigner.GetDesignTimeDataSource 매개 변수로 DataTable 지정된 데이터 원본에서 개체를 selectedDataSource 생성하려고 시도합니다. 이것이 가능하지 않으면 더미 데이터에서 만듭니다 DataTable .

추가 정보

적용 대상