Method CanConvertTo
CanConvertTo(Nullable<ITypeDescriptorContext>, Nullable<Type>)
Returns whether this converter can convert the object to the specified type, using the specified context.
Declaration
public override bool CanConvertTo(ITypeDescriptorContext? context, Type? destinationType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<ITypeDescriptorContext> | context | An System.ComponentModel.ITypeDescriptorContext that provides a format context. |
| System.Nullable<Type> | destinationType | A System.Type that represents the type you want to convert to. |
Returns
| Type | Description |
|---|---|
| System.Boolean | Returns whether this converter can convert the object to the specified type. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |