ValidatedControlConverter.GetStandardValuesExclusive 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个值,该值指示返回 GetStandardValues(ITypeDescriptorContext) 的标准值的集合是否是使用指定上下文的可能值的独占列表。
public:
override bool GetStandardValuesExclusive(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetStandardValuesExclusive(System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValuesExclusive : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetStandardValuesExclusive (context As ITypeDescriptorContext) As Boolean
参数
- context
- ITypeDescriptorContext
提供格式上下文的一 ITypeDescriptorContext 个。
返回
true 如果返回的 GetStandardValues(ITypeDescriptorContext) 集合是可能值的详尽列表,则为可能的值; false 如果可能,则返回其他值。