EnergyConverterCanConvertTo(ITypeDescriptorContext, Type) Method

Returns a value indicating whether this converter can convert an object to the given destination type using the context.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
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 to which you want to convert.

Return Value

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

See Also