DataSourceCacheDurationConverter.GetStandardValuesExclusive 方法

定义

指定使用指定的上下文,从 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 集合不是可能值的详尽列表。

适用于