Repeater.GetData 方法

定义

从数据源返回 IEnumerable 接口。Returns an IEnumerable interface from the data source.

protected:
 virtual System::Collections::IEnumerable ^ GetData();
protected virtual System.Collections.IEnumerable GetData ();
abstract member GetData : unit -> System.Collections.IEnumerable
override this.GetData : unit -> System.Collections.IEnumerable
Protected Overridable Function GetData () As IEnumerable

返回

一个实现 IEnumerable 的对象,表示来自数据源的数据。An object implementing IEnumerable that represents the data from the data source.

注解

数据源由 DataSource 属性指定,或由 DataSourceIDSelectArguments 属性指定。The data source is specified either by the DataSource property or by the DataSourceID and SelectArguments properties.

适用于

另请参阅