CSharpCodeProvider.GetConverter Method (Type)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a TypeConverter for the specified type of object.

Namespace:   Microsoft.CSharp
Assembly:  System (in System.dll)

public override TypeConverter GetConverter(
	Type type


Type: System.Type

The type of object to retrieve a type converter for.

Return Value

Type: System.ComponentModel.TypeConverter

A TypeConverter for the specified type.

A derived class can override this method to provide specific types of type converters for specific data types.

.NET Framework
Available since 1.1
Return to top