Επεξεργασία

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


BooleanConverter.GetStandardValuesSupported(ITypeDescriptorContext) Method

Definition

Gets a value indicating whether this object supports a standard set of values that can be picked from a list.

public:
 override bool GetStandardValuesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetStandardValuesSupported (System.ComponentModel.ITypeDescriptorContext context);
public override bool GetStandardValuesSupported (System.ComponentModel.ITypeDescriptorContext? context);
override this.GetStandardValuesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetStandardValuesSupported (context As ITypeDescriptorContext) As Boolean

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context.

Returns

true because GetStandardValues(ITypeDescriptorContext) can be called to find a common set of values the object supports. This method never returns false.

Remarks

The Boolean data type supports standard values, because a Boolean can only be true or false. Therefore, this method always returns true.

Applies to