VectorConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定义

确定是否可以将实例 Vector 转换为指定类型。

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

正在计算此转换所需的类型 Vector

返回

true如果可以转换为实例,Vector则为 ;否则为 destinationTypefalse

适用于