System.ComponentModel.Design.DesignerOptionService.DesignerOptionConverter.ConvertTo C# (CSharp) Method

ConvertTo() public method

public ConvertTo ( ITypeDescriptorContext cxt, CultureInfo culture, object value, Type destinationType ) : object
cxt ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType System.Type
return object
            public override object ConvertTo(ITypeDescriptorContext cxt, CultureInfo culture, object value, Type destinationType)
            {
                if (destinationType == typeof(string))
                {
                    return SR.CollectionConverterText;
                }
                return base.ConvertTo(cxt, culture, value, destinationType);
            }
DesignerOptionService.DesignerOptionConverter