語言

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 該方法回傳的集合並非所有可能值的完整清單。

適用於