SiteMapDesignerDataSourceView.GetDesignTimeData Method (Int32, Boolean)

 

Generates design-time data that matches the schema of the associated data source control using the provided number of rows and returns a Boolean value indicating whether the data is sample or real data.

Namespace:   System.Web.UI.Design.WebControls
Assembly:  System.Design (in System.Design.dll)

override GetDesignTimeData : 
        minimumRows:int *
        isSampleData:bool byref -> IEnumerable

Parameters

minimumRows
Type: System.Int32

The minimum number of rows to retrieve or create.

isSampleData
Type: System.Boolean

true to indicate sample data; false to indicate real data.

Return Value

Type: System.Collections.IEnumerable

Design-time data that matches the schema of the associated data source control.

.NET Framework
Available since 2.0
Return to top
Show: