FontWeightConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definition

Bestimmt, ob eine Instanz von FontWeight in einen 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, für den diese Instanz von FontWeight zur Konvertierung ausgewertet wird.

Gibt zurück

true, wenn der Konverter diese Instanz von FontWeight konvertieren kann, andernfalls false.

Gilt für: