PropertyGridObject.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 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);
}