Provides a type converter to convert Enum objects to and from various other representations.
See Also: EnumConverter Members
This converter can only convert an enumeration object to and from a string. The System.ComponentModel.EnumConverter class provides the EnumConverter.Comparer property to get an IComparer interface that can be used to sort the values of the enumeration. By default, the enumeration values are sorted in the order they appear in the file.
For more information about type converters, see the System.ComponentModel.TypeConverter base class and How to: Implement a Type Converter.
You should never create an instance of an System.ComponentModel.EnumConverter. Instead, call the TypeDescriptor.GetConverter(object) method of the System.ComponentModel.TypeDescriptor class. For more information, see the examples in the System.ComponentModel.TypeConverter base class.