Bearbeiten

Freigeben über


CodeDomProvider.GetConverter(Type) Method

Definition

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.

Applies to

See also