Int32RectConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definition

Bestimmt, ob eine Instanz einer Instanz eines Int32Rect Typs 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

Beschreibt die Kontextinformationen eines Typs.

destinationType
Type

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

Gibt zurück

truewenn dies Int32Rect in ; andernfalls destinationTypekonvertiert falsewerden kann.

Gilt für: