語言

DialogResultConverter.CanConvertTo(ITypeDescriptorContext, Type) 方法

定義

DialogResultConverter 不支援將 DialogResult ( Nullable<T> 型別 Boolean為 的值)轉換為其他型別。

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, destinationType As Type) As Boolean

參數

typeDescriptorContext
ITypeDescriptorContext

提供格式上下文的A ITypeDescriptorContext 。

destinationType
Type

Type A 代表要轉換成的類型。

傳回

Boolean A 總是返回 false。

適用於

另請參閱