MatrixConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定义

确定是否可将 Matrix 的实例转换成其他类型。

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

要计算用于转换的此 Matrix 的所需类型。

返回

如果此 Matrix 可转换为 destinationType,则为 true;否则为 false

适用于