Share via


ImageFormatConverter.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 koleksiyon alır. Veri türü standart bir değer kümesini desteklemiyorsa döndürür 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ü tarafından çağrılan ortam hakkında daha fazla bilgi almak için kullanılabilir. Bu olabilir null, bu nedenle her zaman denetlemeniz gerekir. Ayrıca, bağlam nesnesinde ö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