Share via


PropertyGridObject.ICustomTypeDescriptor.GetConverter Method

Definition

Returns a type converter for the property grid.

 virtual System::ComponentModel::TypeConverter ^ System.ComponentModel.ICustomTypeDescriptor.GetConverter() = System::ComponentModel::ICustomTypeDescriptor::GetConverter;
System.ComponentModel.TypeConverter ICustomTypeDescriptor.GetConverter ();
Function GetConverter () As TypeConverter Implements ICustomTypeDescriptor.GetConverter

Returns

A TypeConverter object for the specified component, or null if a TypeConverter cannot be found.

Implements

Examples

The following example duplicates the <xref:Microsoft.Web.Management.Client.PropertyGridObject.System.ComponentModel.ICustomTypeDescriptor.GetConverter%2A> method.

TypeConverter MyGetConverter() {
    return TypeDescriptor.GetConverter(this, true);
} 

Applies to