Aracılığıyla paylaş


FontConverter.FontNameConverter.GetStandardValues Yöntem

Tanım

Bu dönüştürücü için tasarlanan veri türü için bir dizi standart değer içeren bir koleksiyon alır.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

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

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

Döndürülenler

Standart bir geçerli değer nullkümesi veya içeren bir koleksiyon. Varsayılan değer: null.

Şunlara uygulanır