VAGSuite.SymbolCollection.SymbolConverter.ConvertTo C# (CSharp) Метод

ConvertTo() публичный Метод

public ConvertTo ( ITypeDescriptorContext context, System culture, object value, Type destType ) : object
context ITypeDescriptorContext
culture System
value object
destType System.Type
Результат object
            public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destType)
            {
                if (destType == typeof(string) && value is SymbolHelper)
                {
                    // Cast the value to an Employee type
                    SymbolHelper pp = (SymbolHelper)value;

                    return pp.Varname + ", " + pp.Start_address + ", " + pp.Length;
                }
                return base.ConvertTo(context, culture, value, destType);
            }
SymbolCollection.SymbolConverter