Click or drag to resize

BinarySizeConverterConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object)

Converts the specified object to a BinarySize object.

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

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.

Return Value

Type: Object
The converted object.
See Also