Bearbeiten

Teilen über


DialogResultConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

DialogResultConverter does not support converting from DialogResult (a Nullable<T> value of type Boolean) to other types.

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

Parameters

typeDescriptorContext
ITypeDescriptorContext

A ITypeDescriptorContext that provides a format context.

destinationType
Type

A Type that represents the type to convert to.

Returns

A Boolean that always returns false.

Applies to

See also