Gemstone Numeric Library
Show/Hide TOC

# UInt24ConverterCanConvertTo(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.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.150 -- Release Build+894a28236428a6eba0477cdd376bf86cc11e6c3b
C#
View Source Request Example

    public override bool CanConvertTo(
    	ITypeDescriptorContext? context,
    	Type? destinationType
    )

VB
View Source Request Example

    Public Overrides Function CanConvertTo (
    	context As ITypeDescriptorContext,
    	destinationType As Type
    ) As Boolean

C++
View Source Request Example

    public:
    virtual bool CanConvertTo(
    	ITypeDescriptorContext^ context,
    	Type^ destinationType
    ) override

JavaScript
View Source Request Example

    function CanConvertTo(context, 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

#### Reference

UInt24Converter Class
CanConvertTo Overload
Gemstone.Numeric Namespace