Rect3DConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定义

获取一个值,此值指示此类型转换器是否可以转换成给定类型。Gets a value that indicates whether this type converter can convert to the given 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

参数

context
ITypeDescriptorContext

此调用的 ITypeDescriptorContext。ITypeDescriptorContext for this call.

destinationType
Type

对其进行支持查询的类型。Type being queried for support.

返回

Boolean

如果此转换器可转换成提供的类型,则为 true;否则为 false。true if this converter can convert to the provided type, false otherwise.

适用于