SiteMapDesignerDataSourceView.GetDesignTimeData(Int32, Boolean) 方法

定义

使用所提供的行数生成与关联数据源控件的架构匹配的设计时数据,并返回一个指示数据是示例数据还是真实数据的布尔值。

public:
 override System::Collections::IEnumerable ^ GetDesignTimeData(int minimumRows, [Runtime::InteropServices::Out] bool % isSampleData);
public override System.Collections.IEnumerable GetDesignTimeData (int minimumRows, out bool isSampleData);
override this.GetDesignTimeData : int * bool -> System.Collections.IEnumerable
Public Overrides Function GetDesignTimeData (minimumRows As Integer, ByRef isSampleData As Boolean) As IEnumerable

参数

minimumRows
Int32

要检索或创建的最小行数。

isSampleData
Boolean

true 指示为示例数据;false 指示为真实数据。

返回

与关联数据源控件的架构匹配的设计时数据。

适用于

另请参阅