Share via


CursorConverter.GetStandardValues(ITypeDescriptorContext) Yöntem

Tanım

Bu doğrulayıcının tasarlandığı veri türü için bir dizi standart değer içeren bir koleksiyonu alır. Bu, veri türü standart bir değer kümesini desteklemiyorsa döndürülecektir null .

public:
 override System::ComponentModel::TypeConverter::StandardValuesCollection ^ GetStandardValues(System::ComponentModel::ITypeDescriptorContext ^ context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext context);
public override System.ComponentModel.TypeConverter.StandardValuesCollection GetStandardValues (System.ComponentModel.ITypeDescriptorContext? context);
override this.GetStandardValues : System.ComponentModel.ITypeDescriptorContext -> System.ComponentModel.TypeConverter.StandardValuesCollection
Public Overrides Function GetStandardValues (context As ITypeDescriptorContext) As TypeConverter.StandardValuesCollection

Parametreler

context
ITypeDescriptorContext

Biçimlendirici bağlamı. Bu nesne, dönüştürücüsü çağrılmakta olan ortam hakkında ek bilgi ayıklamak için kullanılabilir. Bu olabilir null, bu nedenle her zaman denetlemeniz gerekir. Ayrıca bağlam nesnesinde bulunan özellikler de döndürebilir null.

Döndürülenler

Standart bir geçerli değer nullkümesi veya içeren bir koleksiyon. Varsayılan uygulama her zaman döndürür null.

Şunlara uygulanır