ICustomTypeDescriptor.GetConverter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.