Modifier

Partager via


TargetConverter.GetStandardValues(ITypeDescriptorContext) Method

Definition

Returns a collection of standard values from the default context for the data type this type converter is designed for.

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 that provides a format context.

Returns

A TypeConverter.StandardValuesCollection containing a standard set of valid values, or null if the data type does not support a standard set of values.

Remarks

This is an internal-only class.

Applies to