ObjectQuery.IListSource.GetList 方法

定義

傳回集合當做用於資料繫結 (Data Binding) 的 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

實體 (Entity) 物件的 IList

實作

備註

這個成員是明確介面成員實作, 只有在 ObjectQuery<T> 執行個體轉換成 IListSource 介面時,才能使用這個成員。

這個方法會啟用查詢結果的資料繫結。 繫結至集合的控制項會呼叫此方法。 如需詳細資訊,請參閱 將物件系結至控制項

適用於