public PropertyListItem clone() { PropertyListItem result = new PropertyListItem(); result.assign(this); return(result); }
/// <summary>增加一个新的属性,如果属性存在则更新,不存在则新建</summary> public void addProperty(PropertyListItem item) { PropertyListItem current = getItem(item.name); current.assign(item); }