Redigera

Dela via


CSharpCodeProvider.GetConverter(Type) Method

Definition

Gets a TypeConverter for the specified type of object.

public:
 override System::ComponentModel::TypeConverter ^ GetConverter(Type ^ type);
public override System.ComponentModel.TypeConverter GetConverter (Type type);
override this.GetConverter : Type -> System.ComponentModel.TypeConverter
Public Overrides 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.

Remarks

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

Applies to