HierarchicalDataBoundControlDesigner.GetSampleDataSource Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructs a sample data source that can be used at design time for the associated control.
protected:
virtual System::Web::UI::IHierarchicalEnumerable ^ GetSampleDataSource();
protected virtual System.Web.UI.IHierarchicalEnumerable GetSampleDataSource ();
abstract member GetSampleDataSource : unit -> System.Web.UI.IHierarchicalEnumerable
override this.GetSampleDataSource : unit -> System.Web.UI.IHierarchicalEnumerable
Protected Overridable Function GetSampleDataSource () As IHierarchicalEnumerable
Returns
An object implementing the IHierarchicalEnumerable interface that can be used as a data source for controls derived from HierarchicalDataBoundControl.
Remarks
The sample data constructed by the GetSampleDataSource method has a single node with an empty path.
Applies to
See also
Col·laboreu amb nosaltres a GitHub
La font d'aquest contingut es pot trobar al GitHub, on també podeu crear i revisar problemes i sol·licituds d'extracció. Per obtenir més informació, consulteu la nostra guia per a col·laboradors.