SiteMapDesignerDataSourceView.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 用以表示真實數據。
傳回
設計時資料與相關資料來源控制的結構相符。