BaseDataListDesigner.GetDesignTimeDataSource Method (IEnumerable, Int32, Boolean)
.NET Framework (current version)
Generates an object that can be used as a data source at design time.
Assembly: System.Design (in System.Design.dll)
member GetDesignTimeDataSource : selectedDataSource:IEnumerable * minimumRows:int * dummyDataSource:bool byref -> IEnumerable
Parameters
- selectedDataSource
-
Type:
System.Collections.IEnumerable
An object implementing an IEnumerable that is used as a template for the data format.
- minimumRows
-
Type:
System.Int32
The minimum number of rows of sample data that the data source data should contain.
- dummyDataSource
-
Type:
System.Boolean
true if the returned data source contains dummy data; false if the returned data source contains data from an actual data source.
Return Value
Type: System.Collections.IEnumerableAn object implementing an IEnumerable interface that serves as a data source for use at design time.
.NET Framework
Available since 1.1
Available since 1.1
Show: