DekGenius.com
[ Team LiB ] Previous Section Next Section

IListSource

System.ComponentModel (system.dll)interface

This interface is implemented by classes (such as System.Data.DataSet and System.Data.DataTable) that can provide one or more lists for a data-binding scenario but are not actually bindable lists in and of themselves.

The ContainsListCollection property determines whether the list is actually a collection of lists itself (as in the System.Data.DataSet-System.Data.DataTable relationship), and the GetList() method returns the System.Collections.IList for the binding scenario.

public interface IListSource {
// Public Instance Properties
   public bool ContainsListCollection{get; }
// Public Instance Methods
   public IList GetList();
}
    [ Team LiB ] Previous Section Next Section