Provides functionality to an object to return a list that can be bound to a data source.
For a list of all members of this type, see IListSource Members.
[Visual Basic] Public Interface IListSource [C#] public interface IListSource [C++] public __gc __interface IListSource [JScript] public interface IListSource
Classes that Implement IListSource
|DataSet||Represents an in-memory cache of data.|
|DataTable||Represents one table of in-memory data.|
You typically use this interface to return a list that can be bound to a data source, from an object that does not implement IList itself.
Binding to data can occur at either run time or in a designer, but there are rules for each. At run time, you can bind to data in any of the following:
- Implementer of IList, provided the implementer has a strongly typed Item property (that is, the Type is anything but Object). You can accomplish this by making the default implementation of Item private. If you want to create an IList that follows the rules of a strongly-typed collection, you should derive from CollectionBase.
- Implementer of ITypedList.
In a designer, you can initialize binding to Component objects by following the same rules.
Note Implementers of IListSource can return an IList that contains a collection of IList objects.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework
Assembly: System (in System.dll)