FontUnitConverter.GetStandardValues(ITypeDescriptorContext) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
使用指定的格式上下文返回包含 TypeConverter.StandardValuesCollection a 的标准 FontUnit值。
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
提供有关 ITypeDescriptorContext 类型转换器上下文的信息。
返回
一个TypeConverter.StandardValuesCollection包含 .. 的标准值。FontUnit
注解
GetStandardValues使用该方法检索System.ComponentModel.TypeConverter.StandardValuesCollection包含 a FontUnit. 的标准值。 此集合包含类中的所有 FontUnit 字段。