Επεξεργασία

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


SkinIDTypeConverter.CanConvertFrom(ITypeDescriptorContext, Type) Method

Definition

Returns a value indicating whether this converter can convert a SkinID object to a string using the provided format context and type.

public:
 override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ sourceType);
public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext context, Type sourceType);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (context As ITypeDescriptorContext, sourceType As Type) As Boolean

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that provides a format context for the control being designed.

sourceType
Type

A Type.

Returns

true, if the conversion can be made; otherwise, false.

Applies to

See also