FontWeightConverter.ConvertTo Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
bir örneğini FontWeight belirtilen türe dönüştürmeyi dener.
public:
override System::Object ^ ConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, System::Globalization::CultureInfo ^ culture, System::Object ^ value, Type ^ destinationType);
[System.Security.SecurityCritical]
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
public override object ConvertTo (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType);
[<System.Security.SecurityCritical>]
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
override this.ConvertTo : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj * Type -> obj
Public Overrides Function ConvertTo (context As ITypeDescriptorContext, culture As CultureInfo, value As Object, destinationType As Type) As Object
Parametreler
- context
- ITypeDescriptorContext
Bir türün bağlam bilgilerini açıklar.
- culture
- CultureInfo
CultureInfo Dönüştürülmekte olan türü açıklar.
- value
- Object
Dönüştürülecek örneği FontWeight .
- destinationType
- Type
Bu örneğinin FontWeight dönüştürüldüğü tür.
Döndürülenler
dönüştürülen örneğinden FontWeightoluşturulan nesne.
- Öznitelikler
Özel durumlar
value
null
-veya-
value
i bir örnek değil FontWeight
-veya-
destinationType
geçerli bir hedef türü değil.