ActivityBindTypeConverter.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

傳回

Boolean

如果從 true 傳回的 TypeConverter.StandardValuesCollection 是可能值的獨占清單則為 GetStandardValues,如果其他的值為可能則為 false

備註

如果是獨占清單 (例如在列舉資料型別中),則沒有其他有效值。 如果不是獨占清單,則除了 GetStandardValues 方法提供的標準值清單之外,可能還有其他有效值。 如果是獨占值,則 GetStandardValues 傳回的清單應該不允許編輯這些值。

適用於