BooleanConverter.GetStandardValuesExclusive(ITypeDescriptorContext) Metoda

Definicja

Pobiera wartość wskazującą, czy lista wartości standardowych zwracanych z GetStandardValues(ITypeDescriptorContext) metody jest listą wyłączności.

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

Parametry

context
ITypeDescriptorContext

Element ITypeDescriptorContext , który zapewnia kontekst formatu.

Zwraca

true ponieważ zwracany element TypeConverter.StandardValuesCollection jest GetStandardValues(ITypeDescriptorContext) wyczerpującą listą możliwych wartości. Ta metoda nigdy nie zwraca wartości false.

Uwagi

Typ danych logicznych ma tylko dwie standardowe wartości i truefalse. Zwrócony TypeConverter.StandardValuesCollection z tej metody ma wszystkie możliwe wartości. W związku z tym ta metoda zawsze zwraca wartość true.

Dotyczy