NullableBoolConverter.GetStandardValuesSupported(ITypeDescriptorContext) 方法

定义

返回此对象是否支持可以从列表中选取的标准值集。Returns 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);
override this.GetStandardValuesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetStandardValuesSupported (context As ITypeDescriptorContext) As Boolean

参数

context
ITypeDescriptorContext

提供有关组件的上下文信息,如其容器和属性描述符。Provides contextual information about a component, such as its container and property descriptor.

返回

Boolean

此实现始终返回 trueThis implementation always returns true.

注解

context此转换器不使用,并且可以为 nullThe context is not used by this converter and can be null.

适用于