Aracılığıyla paylaş


BooleanConverter.GetStandardValuesExclusive(ITypeDescriptorContext) Yöntem

Tanım

yönteminden GetStandardValues(ITypeDescriptorContext) döndürülen standart değerlerin listesinin özel kullanım listesi olup olmadığını belirten bir değer alır.

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

Parametreler

context
ITypeDescriptorContext

Biçim ITypeDescriptorContext bağlamı sağlayan.

Döndürülenler

trueTypeConverter.StandardValuesCollection çünkü döndürülen GetStandardValues(ITypeDescriptorContext) olası değerlerin kapsamlı bir listesidir. Bu yöntem hiçbir zaman döndürmez false.

Açıklamalar

Boole veri türü yalnızca iki standart değere true sahiptir ve false. TypeConverter.StandardValuesCollection Bu yöntemden döndürülen tüm olası değerlere sahiptir. Bu nedenle, bu yöntem her zaman döndürür true.

Şunlara uygulanır