Edit

Share via


TreeViewDesigner.GetSampleDataSource Method

Definition

Constructs a sample data source that can be used at design time for the associated control.

protected:
 override System::Web::UI::IHierarchicalEnumerable ^ GetSampleDataSource();
protected override System.Web.UI.IHierarchicalEnumerable GetSampleDataSource ();
override this.GetSampleDataSource : unit -> System.Web.UI.IHierarchicalEnumerable
Protected Overrides Function GetSampleDataSource () As IHierarchicalEnumerable

Returns

An object implementing the IHierarchicalEnumerable interface that can be used as a data source for controls derived from HierarchicalDataBoundControl.

Applies to

See also