.. index:: 
  !DocumentLibrary.unloadDocumentTemplate Method
  
.. _id3_document_document_library_unload_document_template_class_method:

===============================================================================
DocumentLibrary.unloadDocumentTemplate Method
===============================================================================

Module: :ref:`DocumentLibrary<id3_document_document_library_class>`

Definition
----------

Unloads a document template.


.. tab-set::

    .. tab-item:: Python
      :sync: Python

      .. code:: Python

        @staticmethod
        unload_document_template(document_name: str) -> None

      **Parameters**

        .. line-block::

          ``document_name`` str
          :guilabel:`in` The document name.


      **Exceptions**

        .. line-block::

          :ref:`DocumentException<id3_document_document_exception>`
          An error has occurred during Document Library execution.


    .. tab-item:: Dart
      :sync: Dart

      .. code:: Dart

        static void unloadDocumentTemplate(String? documentName)

      **Parameters**

        .. line-block::

          ``documentName`` String
          :guilabel:`in` The document name.


      **Exceptions**

        .. line-block::

          :ref:`DocumentException<id3_document_document_exception>`
          An error has occurred during Document Library execution.


    .. tab-item:: C#
      :sync: C#

      .. code:: C#

        public static void UnloadDocumentTemplate(string documentName)

      **Parameters**

        .. line-block::

          ``documentName`` string
          :guilabel:`in` The document name.


      **Exceptions**

        .. line-block::

          :ref:`DocumentException<id3_document_document_exception>`
          An error has occurred during Document Library execution.


    .. tab-item:: Java
      :sync: Java

      .. code:: Java

        public static void unloadDocumentTemplate(String documentName) throws DocumentException

      **Parameters**

        .. line-block::

          ``documentName`` String
          :guilabel:`in` The document name.


      **Exceptions**

        .. line-block::

          :ref:`DocumentException<id3_document_document_exception>`
          An error has occurred during Document Library execution.


    .. tab-item:: Swift
      :sync: Swift

      .. code:: Swift

        public static func unloadDocumentTemplate(documentName: String) throws

      **Parameters**

        .. line-block::

          ``documentName`` String
          :guilabel:`in` The document name.


      **Exceptions**

        .. line-block::

          :ref:`DocumentException<id3_document_document_exception>`
          An error has occurred during Document Library execution.


    .. tab-item:: C
      :sync: C

      .. code:: C

        int id3DocumentLibrary_UnloadDocumentTemplate (
            const char * documentName)

      **Parameters**

        .. line-block::

          ``documentName`` const char *
          :guilabel:`in` The document name.


      **Returns**

        .. line-block::

          ``int``
          An error code.
          See :ref:`id3DocumentError<id3_document_document_error_enum>` file for the list of possible error codes.


