public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destType) { if (destType == typeof(string) && value is AddressLookupHelper) { // Cast the value to an Employee type AddressLookupHelper pp = (AddressLookupHelper)value; return(pp.Sram_adddress + ", " + pp.Flash_address); } return(base.ConvertTo(context, culture, value, destType)); }
public bool Contains(AddressLookupHelper value) { // If value is not of type Int16, this will return false. return(List.Contains(value)); }
public void Remove(AddressLookupHelper value) { List.Remove(value); }
public void Insert(int index, AddressLookupHelper value) { List.Insert(index, value); }
public int IndexOf(AddressLookupHelper value) { return(List.IndexOf(value)); }
public int Add(AddressLookupHelper value) { return(List.Add(value)); }