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