DataSourceCacheDurationConverter.GetStandardValuesSupported 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定物件是否 DataSourceCacheDurationConverter 支援可從清單中選擇的標準值集合,並依照指定的上下文選擇。
public:
override bool GetStandardValuesSupported(System::ComponentModel::ITypeDescriptorContext ^ context);
public override bool GetStandardValuesSupported(System.ComponentModel.ITypeDescriptorContext context);
override this.GetStandardValuesSupported : System.ComponentModel.ITypeDescriptorContext -> bool
Public Overrides Function GetStandardValuesSupported (context As ITypeDescriptorContext) As Boolean
參數
- context
- ITypeDescriptorContext
提供格式背景的一個 ITypeDescriptorContext 。
傳回
true 無論哪種情況。
備註
DataSourceCacheDurationConverter物件總是回傳true,表示應呼叫該GetStandardValues方法以尋找轉換器支援的共同值集合。