Method ClearComponents ClearComponents() Remove all components from this container. Declaration public void ClearComponents()