DesignerHierarchicalDataSourceView.GetDesignTimeData Method
.NET Framework 2.0
Note: This method is new in the .NET Framework version 2.0.
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)
Assembly: System.Design (in system.design.dll)
public: virtual IHierarchicalEnumerable^ GetDesignTimeData ( [OutAttribute] bool% isSampleData )
public IHierarchicalEnumerable GetDesignTimeData ( /** @attribute OutAttribute() */ /** @ref */ boolean isSampleData )
JScript does not support passing value-type arguments by reference.
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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Show: