Provides a type converter that can be used to populate a list box with available types.
For a list of all members of this type, see TypeListConverter Members.
[Visual Basic] MustInherit Public Class TypeListConverter Inherits TypeConverter [C#] public abstract class TypeListConverter : TypeConverter [C++] public __gc __abstract class TypeListConverter : public TypeConverter [JScript] public abstract class TypeListConverter extends TypeConverter
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
You must provide the list of types to the constructor of this abstract (MustInherit in Visual Basic) class.
Note You should never create an instance of a TypeListConverter. Instead, call the GetConverter method of TypeDescriptor. For more information, see the examples in the TypeConverter base class.
Notes to Inheritors: When you inherit from TypeListConverter, you can override the following methods:
- To support custom type conversion, override the following methods: CanConvertFrom, CanConvertTo, ConvertFrom, and ConvertTo.
- To convert types that must re-create the object to change its value, override CreateInstance and GetCreateInstanceSupported.
- To convert types that support properties, override GetProperties and GetPropertiesSupported. If the class you are converting does not have properties, and you need to implement properties, you can use the TypeConverter.SimplePropertyDescriptor class as a base for implementing the property descriptors. When you inherit from TypeConverter.SimplePropertyDescriptor, you must override the GetValue and SetValue methods.
- To convert types that support standard values, override GetStandardValues, GetStandardValuesExclusive, GetStandardValuesSupported and IsValid.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System (in System.dll)