[]
Converts the specified value object to an enumeration object.
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)
Type | Name | Description |
---|---|---|
ITypeDescriptorContext | context | An ITypeDescriptorContext that provides a format context. |
CultureInfo | culture | An CultureInfo parameter for coversion. |
object | value | The object to convert. |
Type | Description |
---|---|
object | A object that represents the converted value. |