.NET Framework Class Library  

IListSource Interface

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

Class Description
DataSet Represents an in-memory cache of data.
DataTable Represents one table of in-memory data.

Remarks

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:

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.

Requirements

Namespace: System.ComponentModel

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 - Windows CE .NET

Assembly: System (in System.dll)

See Also

IListSource Members | System.ComponentModel Namespace