UserInterfaceObjectCollection<T>.Add Method

Name Parameters Description
Add(T) value Adds an instance of the UserInterfaceObject descendant to the collection.
Add(String) displayName Creates a new instance of the UserInterfaceObject descendant, sets its UserInterfaceObject.DisplayName and UserInterfaceObject.MenuCaption, and adds the object to the collection.
Add(String, String) displayName, menuCaption Creates a new instance of the UserInterfaceObject descendant, sets its UserInterfaceObject.DisplayName and UserInterfaceObject.MenuCaption, and adds the object to the collection.