UInt24ConverterConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method

Converts the specified object to another type.

Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.138 -- Release Build+88ca978c0cce6d0d3e501e198adb13956063f519
public override Object? ConvertTo(
	ITypeDescriptorContext? context,
	CultureInfo? culture,
	Object? value,
	Type destinationType
)

Parameters

context  ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
culture  CultureInfo
A CultureInfo that specifies the culture to represent the number.
value  Object
The object to convert.
destinationType  Type
The type to convert the object to.

Return Value

Object
An Object that represents the converted value.

Exceptions

ArgumentNullExceptiondestinationType is .
NotSupportedExceptionThe conversion cannot be performed.

See Also