ChargeConverterConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) Method
Converts the specified object to another type.
Namespace: Gemstone.UnitsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.150 -- Release Build+64e3b411e1abfbd2d4d8a81e850c3909a0ce8731
public override Object? ConvertTo(
	ITypeDescriptorContext? context,
	CultureInfo? culture,
	Object? value,
	Type destinationType
)
Public Overrides Function ConvertTo ( 
	context As ITypeDescriptorContext,
	culture As CultureInfo,
	value As Object,
	destinationType As Type
) As Object
public:
virtual Object^ ConvertTo(
	ITypeDescriptorContext^ context, 
	CultureInfo^ culture, 
	Object^ value, 
	Type^ destinationType
) override
function ConvertTo(context, culture, value, destinationType);
- 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.
ObjectAn 
Object that represents the converted value.
 | ArgumentNullException | destinationType is . | 
| NotSupportedException | The conversion cannot be performed. |