.. highlightlang:: us .. _updf_destroy_element: updf_destroy_element ==================== .. index:: updf_destroy_element .. us.tag updf_destroy_element NOTREADYENGLISH updf updf-stor New560 :ref:`updf_destroy_element` removes (destroys) a storage or stream in a storage. .. function:: ret = updf_destroy_element(stg, name) .. us.return **Return Value** *ret* is TRUE (1) or an error object (see :ref:`error_create`). .. us.params **Parameters** .. uparam:: stg *stg* is a storage object (see :ref:`updf_create_file`, :ref:`updf_open_file`, :ref:`updf_create_storage`). .. uparam:: name *name* is the name of a Stream or Storage. .. us.comment **Comment** .. us.example **Example** .. include:: ../include/test_updf_destroy_element.ic .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.6.0 - New .. seealso:: :ref:`overview-updf-files`, :ref:`updf_rename_element` :sub:`id-1126673`