SiteMapDesignerHierarchicalDataSourceView.GetDesignTimeData(Boolean) 方法
定义
生成与关联数据源控件的架构匹配的设计时数据,并返回一个指示数据是示例数据还是真实数据的值。Generates design-time data that matches the schema of the associated data source control and returns a value indicating whether the data is sample data or real data.
public:
override System::Web::UI::IHierarchicalEnumerable ^ GetDesignTimeData([Runtime::InteropServices::Out] bool % isSampleData);
public override System.Web.UI.IHierarchicalEnumerable GetDesignTimeData (out bool isSampleData);
override this.GetDesignTimeData : bool -> System.Web.UI.IHierarchicalEnumerable
Public Overrides Function GetDesignTimeData (ByRef isSampleData As Boolean) As IHierarchicalEnumerable
参数
- isSampleData
- Boolean
true 指示返回的数据为示例数据;false 指示返回的数据为真实数据。true to indicate that the returned data is sample data; false to indicate that the returned data is real data.
返回
与关联数据源控件的架构匹配的设计时数据。Design-time data that matches the schema of the associated data source control.