DataSourceCacheDurationConverter.GetStandardValuesExclusive 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定使用指定的上下文,从 GetStandardValues 该方法返回的标准值的集合是否为独占列表。
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 个。
返回
false 在所有情况下。
注解
该 DataSourceCacheDurationConverter 类始终返回 false 以指示 TypeConverter.StandardValuesCollection 从方法返回的 GetStandardValues 集合不是可能值的详尽列表。