System.Web.UI.ListSourceHelper.ContainsListCollection Method

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

Syntax

public static bool ContainsListCollection (IDataSource dataSource)

Parameters

dataSource
An System.Web.UI.IDataSource that specifies the data source control to test for associated data source view objects.

Returns

true if the data source control contains a collection of data source view objects; otherwise, false.

Remarks

Use this method in an implementation of the System.ComponentModel.IListSource.ContainsListCollection property, passing a reference to a data source control.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0