共用方式為


CommonLocalizableEnumConverter.ConvertFrom Method

Definition

Does the conversion from string to enum and the odd enum to enum. All others are passed on to the base

public override object ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value);
override this.ConvertFrom : System.ComponentModel.ITypeDescriptorContext * System.Globalization.CultureInfo * obj -> obj
Public Overrides Function ConvertFrom (context As ITypeDescriptorContext, culture As CultureInfo, value As Object) As Object

Parameters

culture
CultureInfo
value
Object

Returns

Applies to