Редагувати

Поділитися через


RectConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Determines whether a Rect can be converted to the specified type.

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

Parameters

context
ITypeDescriptorContext

Provides contextual information required for conversion.

destinationType
Type

The desired type this Rect is being evaluated for conversion.

Returns

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

Applies to