RectConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definition

Bestimmt, ob ein Rect Wert in den angegebenen 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

Stellt kontextbezogene Informationen bereit, die für die Konvertierung erforderlich sind.

destinationType
Type

Der gewünschte Typ, Rect der für die Konvertierung ausgewertet wird.

Gibt zurück

true if a Rect can be converted to destinationType; otherwise, false.

Gilt für: