XmlDesignerDataSourceView.GetDesignTimeData(Int32, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生符合相關聯資料來源控制項之結構描述,並傳回值,指出資料是範例還是實際資料的設計階段資料。
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 物件,包含要在設計階段顯示的資料。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應