Redigera

Dela via


CustomTypeDescriptor.GetConverter Method

Definition

Returns a type converter for the type represented by this type descriptor.

public:
 virtual System::ComponentModel::TypeConverter ^ GetConverter();
public virtual System.ComponentModel.TypeConverter GetConverter ();
public virtual System.ComponentModel.TypeConverter? GetConverter ();
abstract member GetConverter : unit -> System.ComponentModel.TypeConverter
override this.GetConverter : unit -> System.ComponentModel.TypeConverter
Public Overridable Function GetConverter () As TypeConverter

Returns

A TypeConverter for the type represented by this type descriptor. The default is a newly created TypeConverter.

Implements

Remarks

If a parent custom type descriptor was passed into the CustomTypeDescriptor constructor, the GetConverter method will call the parent's corresponding method.

Applies to

See also