SizeFConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definition

Gibt einen Wert zurück, der angibt, ob ein SizeFConverter Wert in den angegebenen Typ konvertiert SizeF 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

Ein ITypeDescriptorContext zusätzlicher Kontext, über den zusätzliche Kontext bereitgestellt werden kann.

destinationType
Type

A Type that represents the type you want to convert from.

Gibt zurück

truewenn dieser Konverter die Konvertierung ausführen kann, andernfalls . false

Gilt für: