共用方式為


ObjectQuery.IListSource.GetList 方法

定義

將集合作為 IList 資料綁定的使用資料。

 virtual System::Collections::IList ^ System.ComponentModel.IListSource.GetList() = System::ComponentModel::IListSource::GetList;
System.Collections.IList IListSource.GetList();
abstract member System.ComponentModel.IListSource.GetList : unit -> System.Collections.IList
override this.System.ComponentModel.IListSource.GetList : unit -> System.Collections.IList
Function GetList () As IList Implements IListSource.GetList

傳回

一個 IList 實體物件的集合。

實作

備註

此成員為明確介面成員實作。 它只能在實 ObjectQuery<T> 例投射到 IListSource 介面時使用。

此方法可將資料綁定至查詢結果。 它是由綁定於集合的控制項所呼叫的。 如需詳細資訊,請參閱將物件繫結至控制項

適用於