Click or drag to resize

BinarySizeConverterConvertTo Method (ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the specified object to the specified type.

Namespace:  Ookii.Jumbo
Assembly:  Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax
public override Object ConvertTo(
	ITypeDescriptorContext context,
	CultureInfo culture,
	Object value,
	Type destinationType
)

Parameters

context
Type: System.ComponentModelITypeDescriptorContext
A formatter context. This object can be used to get additional information about the environment this converter is being called from. This may be , so you should always check. Also, properties on the context object may also return .
culture
Type: System.GlobalizationCultureInfo
An object that contains culture specific information, such as the language, calendar, and cultural conventions associated with a specific culture. It is based on the RFC 1766 standard.
value
Type: SystemObject
The object to convert.
destinationType
Type: SystemType
The type to convert the object to.

Return Value

Type: Object
The converted object.
See Also