Point4DConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定义

确定是否可将 Point4D 结构的实例转换为不同的类型。

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

描述类型的上下文信息。

destinationType
Type

正在进行计算以用于转换的此 Point4D 结构的所需类型。

返回

Boolean

指示该 Point4D 结构是否可转换为 destinationType

含义
false 转换器无法将此 Point4D 结构转换为指定类型。
true 转换器可以将此 Point4D 结构转换为指定类型。

适用于