Aracılığıyla paylaş


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

context parametresi, bu dönüştürücüye çağrılan ortam hakkında ek bilgi ayıklamak için kullanılabilir. Bu olabilir null, bu nedenle her zaman kontrol edin. Ayrıca, bağlam nesnesinde özellikler döndürebilir null.

Liste özel olduğunda, yöntemin sağladığı standart değerler listesinin dışında başka hiçbir değer GetStandardValues geçerli olmaz.

Şunlara uygulanır