CodeDomProvider.GetConverter Method (Type)

 
System_CAPS_noteNote

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 data type.

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

public virtual TypeConverter GetConverter(
	Type type
)

Parameters

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, or null if a TypeConverter for the specified type cannot be found.

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
Show: