Show / Hide Table of Contents

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
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.