System.Web.UI.Design.DataSourceConverter.GetStandardValues Method

Gets the standard data sources accessible to the control.

Syntax

public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext context)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext indicating the component or control to get values for.

Returns

A System.ComponentModel.TypeConverter.StandardValuesCollection listing the standard accessible data sources.

Remarks

The data sources that are accessible to the component are determined by retrieving a list of components from the designer, testing each component with the DataSourceConverter.IsValidDataSource(System.ComponentModel.IComponent) method, and then returning the components that are valid data sources.

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0