IDataSource.GetViewNames Method

DataSourceControl.IDataSource.GetViewNames Method ()

.NET Framework (current version)
 

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets a collection of names, representing the list of DataSourceView objects associated with the DataSourceControl control.

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

ICollection IDataSource.GetViewNames()

Return Value

Type: System.Collections.ICollection

An ICollection that contains the names of the DataSourceView objects associated with the DataSourceControl.

System_CAPS_noteNote

The DataSourceControl class's default implementation, which is called by this interface method, returns null, which indicates that only one view is supported. If you extend the DataSourceControl class, override the GetViewNames method to return a collection of view names. A name can be passed to the GetView method to return a DataSourceView object.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft