FontWeightConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definition

Bestimmt, ob eine Instanz von FontWeight einem anderen Typ konvertiert werden kann.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean

Parameter

context
ITypeDescriptorContext

Kontextinformationen eines Typs.

destinationType
Type

Der gewünschte Typ, in FontWeight den diese Instanz für die Konvertierung ausgewertet wird.

Gibt zurück

true wenn der Konverter diese Instanz von FontWeight; andernfalls falsekonvertieren kann.

Gilt für: