DesignerHierarchicalDataSourceView.GetDesignTimeData Method

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

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

public:
virtual IHierarchicalEnumerable^ GetDesignTimeData (
	[OutAttribute] bool% isSampleData
)
public IHierarchicalEnumerable GetDesignTimeData (
	/** @attribute OutAttribute() */ /** @ref */ boolean isSampleData
)
Not applicable.

Parameters

isSampleData

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

Return Value

This implementation always returns a null reference (Nothing in Visual Basic).

The GetDesignTimeData method should provide a design-time version of data for use by the associated data-bound control designer.

It is not expected nor recommended that the designer perform actual data access at design time. Instead, the designer should create sample data that matches the schema of the data source.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: