Int24ConverterConvertFrom(ITypeDescriptorContext, CultureInfo, Object) Method

Converts the given object to the converter's native type.

Definition

Namespace: Gemstone.Numeric
Assembly: Gemstone.Numeric (in Gemstone.Numeric.dll) Version: 1.0.174 -- Release Build+c5b1b4a29589adca9a2c6916813ee5c7c2cee966
public override Object? ConvertFrom(
	ITypeDescriptorContext? context,
	CultureInfo? culture,
	Object value
)

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.

Return Value

Object
An Object that represents the converted value.

Exceptions

Exceptionvalue is not a valid value for the target type.
NotSupportedExceptionThe conversion cannot be performed.

See Also