Redigera

Dela via


ObjectQuery.IListSource.GetList Method

Definition

Returns the collection as an IList used for data binding.

 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

Returns

An IList of entity objects.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ObjectQuery<T> instance is cast to an IListSource interface.

This method enables data binding to the result of the query. It is called by the control bound to the collection. For more information, see Binding Objects to Controls.

Applies to