예제 #1
0
        public PropertyListItem clone()
        {
            PropertyListItem result = new PropertyListItem();

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

            current.assign(item);
        }