The Application.Contents.RemoveAll method removes all items that have been added to the Application.Contents collection.
Application.Contents.RemoveAll ()
Contents.Remove