Redigera

Dela via


RepeaterDesigner.GetDesignTimeDataSource Method

Definition

Returns design-time sample data.

Overloads

GetDesignTimeDataSource(IEnumerable, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns design-time sample data based on the provided data and using the specified number of rows.

GetDesignTimeDataSource(Int32)

This API supports the product infrastructure and is not intended to be used directly from your code.

Returns design-time sample data based on the GetResolvedSelectedDataSource() method and using the specified number of rows.

GetDesignTimeDataSource(IEnumerable, Int32)

Returns design-time sample data based on the provided data and using the specified number of rows.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 System::Collections::IEnumerable ^ GetDesignTimeDataSource(System::Collections::IEnumerable ^ selectedDataSource, int minimumRows);
protected System.Collections.IEnumerable GetDesignTimeDataSource (System.Collections.IEnumerable selectedDataSource, int minimumRows);
member this.GetDesignTimeDataSource : System.Collections.IEnumerable * int -> System.Collections.IEnumerable
Protected Function GetDesignTimeDataSource (selectedDataSource As IEnumerable, minimumRows As Integer) As IEnumerable

Parameters

selectedDataSource
IEnumerable

An IEnumerable object containing data to use in creating similar sample data at design time.

minimumRows
Int32

The minimum number of rows of sample data that the data source should contain.

Returns

An IEnumerable object containing sample data for use at design time.

See also

Applies to

GetDesignTimeDataSource(Int32)

Returns design-time sample data based on the GetResolvedSelectedDataSource() method and using the specified number of rows.

This API supports the product infrastructure and is not intended to be used directly from your code.

protected:
 System::Collections::IEnumerable ^ GetDesignTimeDataSource(int minimumRows);
protected System.Collections.IEnumerable GetDesignTimeDataSource (int minimumRows);
member this.GetDesignTimeDataSource : int -> System.Collections.IEnumerable
Protected Function GetDesignTimeDataSource (minimumRows As Integer) As IEnumerable

Parameters

minimumRows
Int32

The minimum number of rows of sample data that the data source should contain.

Returns

An IEnumerable object containing sample data for use at design time.

See also

Applies to