NullableConverter.GetStandardValuesExclusive(ITypeDescriptorContext) 方法

定義

使用指定的內容,傳回從 GetStandardValues 所傳回的標準值集合是否為可能值的獨占清單。

public:
 override bool GetStandardValuesExclusive(System::ComponentModel::ITypeDescriptorContext ^ context);
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

傳回

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

適用於

另請參閱