LocalisedEnumConverterTConvertFrom Method (ITypeDescriptorContext, CultureInfo, Object) |
Translates from the localised text to the enum value.
Namespace: VirtualRadar.LocalisationAssembly: VirtualRadar.Localisation (in VirtualRadar.Localisation.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public override Object ConvertFrom(
ITypeDescriptorContext context,
CultureInfo culture,
Object value
)
Public Overrides Function ConvertFrom (
context As ITypeDescriptorContext,
culture As CultureInfo,
value As Object
) As Object
public:
virtual Object^ ConvertFrom(
ITypeDescriptorContext^ context,
CultureInfo^ culture,
Object^ value
) override
abstract ConvertFrom :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object -> Object
override ConvertFrom :
context : ITypeDescriptorContext *
culture : CultureInfo *
value : Object -> Object
Parameters
- context
- Type: System.ComponentModelITypeDescriptorContext
- culture
- Type: System.GlobalizationCultureInfo
- value
- Type: SystemObject
Return Value
Type:
ObjectSee Also