ControlIDConverter.GetStandardValuesExclusive(ITypeDescriptorContext) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回值,指出 GetStandardValues(ITypeDescriptorContext) 方法傳回的標準值集合是否為使用指定內容之可能值的獨佔清單。
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 無論哪種情況。
備註
在此類別中實作時,此方法總是回傳 false。
給繼承者的注意事項
如果你想轉換的類型支援標準值,則會覆寫這個方法。
利用參數 context 擷取關於該轉換器所使用的環境的額外資訊。 此參數可為 null,上下文物件上的屬性可回傳 null。