Επεξεργασία

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


BooleanConverter.GetStandardValues(ITypeDescriptorContext) Method

Definition

Gets a collection of standard values for the Boolean data type.

public:
 override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ context);
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 that holds a standard set of valid values.

Remarks

The Boolean data type has two standard values, true and false.

Applies to