DataBoundControlDesigner.IDataSourceProvider.GetSelectedDataSource Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

For a description of this member, see GetSelectedDataSource.

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

object IDataSourceProvider.GetSelectedDataSource()

Return Value

Type: System.Object

An object implementing an IEnumerable interface containing the design-time DataSource property of the associated control, or null if a data source is not found.

This member is an explicit interface member implementation. It can be used only when the DataBoundControlDesigner instance is cast to an IDataSourceProvider interface.

.NET Framework
Available since 2.0
Return to top