편집

다음을 통해 공유


DataMemberConverter.GetStandardValues(ITypeDescriptorContext) Method

Definition

Gets the data members 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 data members of the data source selected for the component.

Remarks

The converter uses the IDataSourceProvider implementation of the associated component's designer to retrieve the current data source selection.

Applies to