Edytuj

Udostępnij za pośrednictwem


DataControlReferenceIDConverter.GetStandardValues Method

Definition

Returns a collection of available control values.

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 object that provides context information for this type converter.

Returns

A collection that contains the names of the available controls.

Remarks

The DataControlReferenceIDConverter.GetStandardValues method gets the set of controls that can be converted. It creates a TypeConverter.StandardValuesCollection instance that contains objects that are valid data types in context.

Applies to