Taal

FontStyleConverter.ConvertTo Methode

Definitie

Pogingen om een exemplaar van FontStyle een opgegeven type te converteren.

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

Parameters

context
ITypeDescriptorContext

Contextinformatie van een type.

culture
CultureInfo

CultureInfo van het type dat wordt geconverteerd.

value
Object

Het exemplaar van FontStyle om te converteren.

destinationType
Type

Het type van FontStyle dit exemplaar wordt geconverteerd naar.

Retouren

Het object dat is gemaakt op basis van het geconverteerde exemplaar van FontStyle.

Kenmerken

Uitzonderingen

value Is null

– of –

value is geen exemplaar van FontStyle

– of –

destinationType is geen geldig doeltype.

Opmerkingen

destinationType kan String of InstanceDescriptor.

Van toepassing op