XmlDesignerDataSourceView.GetDesignTimeData(Int32, Boolean) Método

Definição

Gera dados de tempo de design que correspondem ao esquema do controle de fonte de dados associado e retorna um valor indicando se os dados são de exemplo ou reais.Generates design-time data that matches the schema of the associated data source control and returns a value indicating whether the data is sample or real data.

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

Parâmetros

minimumRows
Int32

O número mínimo de linhas a ser retornado.The minimum number of rows to return.

isSampleData
Boolean

true para indicar que os dados retornados são dados de exemplo; false para indicar que os dados retornados são dados reais.true to indicate that the returned data is sample data; false to indicate that the returned data is live data.

Retornos

IEnumerable

Um objeto DataSourceView que contém dados a serem exibidos em tempo de design.A DataSourceView object containing data to display at design time.

Aplica-se a

Confira também