SelectionList.CreateItems(IEnumerable) 方法
定义
使用指定的 dataSource 参数在项集合中创建项。Creates items in an items collection from the specified dataSource parameter. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.
protected:
virtual void CreateItems(System::Collections::IEnumerable ^ dataSource);
protected virtual void CreateItems (System.Collections.IEnumerable dataSource);
abstract member CreateItems : System.Collections.IEnumerable -> unit
override this.CreateItems : System.Collections.IEnumerable -> unit
Protected Overridable Sub CreateItems (dataSource As IEnumerable)
参数
- dataSource
- IEnumerable
从中创建集合项的源。The source from which items in the collection are created.
注解
对于自定义数据绑定行为,继承类可以重写此方法。Inheriting classes can override this method for custom data-binding behavior.