共用方式為


CommonLocalizableEnumConverter.ConvertTo Method

Definition

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

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

Parameters

culture
CultureInfo
value
Object
destinationType
Type

Returns

Applies to