IecBinarySizeConverterCanConvertTo(ITypeDescriptorContext, Type) Method

Returns whether this converter can convert the object to the specified type, using the specified context.

Definition

Namespace: Ookii
Assembly: Ookii.BinarySize (in Ookii.BinarySize.dll) Version: 1.2.0+20f0bdf981c7baf115c68ccab612b1a031efcb4d
C#
public override bool CanConvertTo(
	ITypeDescriptorContext? context,
	Type? destinationType
)

Parameters

context  ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
destinationType  Type
A Type that represents the type you want to convert to.

Return Value

Boolean
if this converter can perform the conversion; otherwise, .

See Also