public virtual void copyFrom(TypedHashtable src) { this.Clear(); for (int i = 0; i < src.Count; i++) { this.Add(src.Names[i], src[i]); this.types[i] = src.Types2[i]; } }
public override OrderedHashtable copy() { TypedHashtable dest = (TypedHashtable)base.copy(); foreach (string key in Names) { dest.types.Add(key, types[key]); } return(dest); }