Språk

Int32RectConverter.CanConvertTo(ITypeDescriptorContext, Type) Metod

Definition

Avgör om en instans av en Int32Rect kan konverteras till en annan typ.

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

Parametrar

context
ITypeDescriptorContext

Beskriver kontextinformationen för en typ.

destinationType
Type

Önskad typ som utvärderas Int32Rect för konvertering.

Returer

true om detta Int32Rect kan konverteras till destinationType, annars , false.

Gäller för