EntityCollection<TEntity>.IListSource.GetList Method


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 ();
Function GetList () As IList Implements IListSource.GetList


An IList of entity objects.



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

This method enables data binding to an EntityCollection<TEntity>. It is called by the control bound to the collection. For more information, see Binding Objects to Controls.

Applies to