EntityDesignerDataSourceView.GetDesignTimeData(Int32, Boolean) Method

Definition

Gets the design-time data that matches the schema of the associated data source control by using the specified number of rows.

public:
 override System::Collections::IEnumerable ^ GetDesignTimeData(int minimumRows, [Runtime::InteropServices::Out] bool % isSampleData);
public override System.Collections.IEnumerable GetDesignTimeData (int minimumRows, out bool isSampleData);
override this.GetDesignTimeData : int * bool -> System.Collections.IEnumerable
Public Overrides Function GetDesignTimeData (minimumRows As Integer, ByRef isSampleData As Boolean) As IEnumerable

Parameters

minimumRows
Int32

The minimum number of rows to return.

isSampleData
Boolean

true to indicate that the returned data is sample data; false to indicate that the returned data is live data.

Returns

The data to display at design time.

Remarks

Returns a value that indicates whether the data is sample or real data.

Applies to