ObjectDesignerDataSourceView.GetDesignTimeData(Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Generates design-time data that matches the schema of the associated data source control.
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
Parameters
- minimumRows
- Int32
An integer containing the minimum number of rows to retrieve.
- isSampleData
- Boolean
A value indicating whether the data returned is sample data or real data.
Returns
A sample of the data represented by the associated ObjectDataSource or null
if the designer cannot generate any sample data.
Remarks
The GetDesignTimeData method provides a design-time version of the ObjectDataSource view for use by the associated data-bound control designer.
It is not expected that the designer will perform actual data access at design-time time. Instead, the designer creates sample data that matches the schema of the data source.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기