Show / Hide Table of Contents

Method CanConvertFrom

CanConvertFrom(Nullable<ITypeDescriptorContext>, Type)

Returns a value indicating whether the converter can convert from the specified type

Declaration
public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
Parameters
Type Name Description
System.Nullable<ITypeDescriptorContext> context

An System.ComponentModel.ITypeDescriptorContext that provides a format context.

Type sourceType

A System.Type that represents the type you want to convert from.

Returns
Type Description
System.Boolean

true if this converter can perform the conversion; otherwise, false.

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.