Επεξεργασία

Κοινή χρήση μέσω


ThemeModeConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

Determines whether or not this class can convert to a given type.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, destinationType As Type) As Boolean

Parameters

typeDescriptorContext
ITypeDescriptorContext

The ITypeDescriptorContext for this call.

destinationType
Type

The Type being queried for support.

Returns

true if this converter can convert to the provided type; otherwise, false.

Applies to