ListSourceHelper Class

 

Used by data source controls when implementing the members defined by the IListSource interface. This class cannot be inherited.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

System::Object
  System.Web.UI::ListSourceHelper

public ref class ListSourceHelper abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticContainsListCollection(IDataSource^)

Indicates whether the specified data source control contains a collection of data source view objects.

System_CAPS_pubmethodSystem_CAPS_staticGetList(IDataSource^)

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: