ObjectList.CreateItems(IEnumerable) 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.
Creates items in an items collection from the specified dataSource
parameter. This API is obsolete. 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)
Parameters
- dataSource
- IEnumerable
The source from which items in the collection are created.
Remarks
Inheriting classes can override this method for custom data-binding behavior.
Applies to
See also
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk