public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
{
if (destinationType == null)
{
throw new ArgumentNullException(nameof(destinationType));
}
if (destinationType == typeof(string))
{
if (value == null)
{
return SR.none;
}
else
{
return ((Type)value).FullName;
}
}
return base.ConvertTo(context, culture, value, destinationType);
}
/// <internalonly/>