CodeDomProvider.GetConverter(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a TypeConverter for the specified data type.
public:
virtual System::ComponentModel::TypeConverter ^ GetConverter(Type ^ type);
public virtual System.ComponentModel.TypeConverter GetConverter (Type type);
abstract member GetConverter : Type -> System.ComponentModel.TypeConverter
override this.GetConverter : Type -> System.ComponentModel.TypeConverter
Public Overridable Function GetConverter (type As Type) As TypeConverter
Parameters
- type
- Type
The type of object to retrieve a type converter for.
Returns
A TypeConverter for the specified type, or null
if a TypeConverter for the specified type cannot be found.
Remarks
A derived class can override this method to provide specific types of type converters for specific data types.