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

ITypeDescriptorContext,提供格式內容。

destinationType
Type

Type,表示要轉換成的型別。

傳回

一律會傳回 falseBoolean

適用於

另請參閱