Edit

Share via


ICustomTypeDescriptor.GetConverter Method

Definition

Returns a type converter for this instance of a component.

public:
 System::ComponentModel::TypeConverter ^ GetConverter();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")]
public System.ComponentModel.TypeConverter? GetConverter();
public System.ComponentModel.TypeConverter GetConverter();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")]
public System.ComponentModel.TypeConverter GetConverter();
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Generic TypeConverters may require the generic types to be annotated. For example, NullableConverter requires the underlying type to be DynamicallyAccessedMembers All.")>]
abstract member GetConverter : unit -> System.ComponentModel.TypeConverter
abstract member GetConverter : unit -> System.ComponentModel.TypeConverter
Public Function GetConverter () As TypeConverter

Returns

A TypeConverter that is the converter for this object, or null if there is no TypeConverter for this object.

Attributes

Remarks

If null is returned, use the default TypeConverter.

Applies to

See also