語言

XmlDesignerDataSourceView.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 用以表示回傳的資料為即時資料。

傳回

一個 DataSourceView 包含設計時顯示資料的物件。

適用於

另請參閱