/// <summary> /// Returns a deep copy of this object. /// </summary> /// <returns></returns> public object Clone() { TBookmarkList Result = new TBookmarkList(); for (int i = 0; i < Count; i++) { Result.Add((TBookmark)this[i].Clone()); } return(Result); }
/// <summary> /// Adds a new child of this bookmark on the outline. /// </summary> /// <param name="child">Child bookmark to add.</param> public void AddChild(TBookmark child) { FChildren.Add(child); }