Name

IListSource

Synopsis

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();

}

Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.