NullableBoolConverter.GetStandardValues(ITypeDescriptorContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回此类型转换器设计的数据类型的标准值的集合。
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
参数
- context
- ITypeDescriptorContext
提供有关组件(例如其容器和属性描述符)的上下文信息。
返回
保存一组标准有效值的集合。 对于此实现,这些值是 true, false以及 null。
注解
此 context 转换器未使用该转换器,可以是 null。