ListSourceHelper Class
Used by data source controls when implementing the members defined by the IListSource interface. This class cannot be inherited.
Assembly: System.Web (in System.Web.dll)
The ListSourceHelper type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | ContainsListCollection | Indicates whether the specified data source control contains a collection of data source view objects. |
![]() ![]() | GetList | Retrieves an IList collection of data source objects. |
The ListSourceHelper class is a utility class provided to simplify implementation of the IListSource interface by data source controls. Data source controls that implement the IDataSource interface but do not extend the DataSourceControl class can use the static ListSourceHelper methods in their own implementations of the methods defined by the IListSource interface. Data source controls that extend from the DataSourceControl class inherit these method implementations automatically.
The following code example demonstrates the design pattern for a data source class that implements the IListSource methods.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

