Επεξεργασία

Κοινή χρήση μέσω


DataSourceConverter.GetStandardValues(ITypeDescriptorContext) Method

Definition

Gets the standard data sources accessible to the control.

public:
 override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValues : System.ComponentModel.ITypeDescriptorContext -> System.ComponentModel.TypeConverter.StandardValuesCollection
Public Overrides Function GetStandardValues (context As ITypeDescriptorContext) As TypeConverter.StandardValuesCollection

Parameters

context
ITypeDescriptorContext

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

Returns

A 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 IsValidDataSource method, and then returning the components that are valid data sources.

Applies to

See also