Upravit

Sdílet prostřednictvím


DataFieldConverter.GetStandardValues(ITypeDescriptorContext) Method

Definition

Gets the data fields present within the selected data source if information about them is available.

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 object indicating the component or control to get values for.

Returns

A TypeConverter.StandardValuesCollection listing the standard accessible data sources.

Remarks

This method uses the IDataSourceProvider implementation on the component's designer to retrieve the selected data source.

Applies to