Method CanConvertFrom
CanConvertFrom(Nullable<ITypeDescriptorContext>, Type)
Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
Declaration
public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
Parameters
Type | Name | Description |
---|---|---|
System. |
context | An |
Type | sourceType | A Type that represents the type you want to convert from. |
Returns
Type | Description |
---|---|
System. |
|
Applies to
Platforms and versions
Target | Versions |
---|---|
UWP | 100.15 |