.. index:: 
  !DocumentAuthenticator.documentName Property

.. _id3_document_document_authenticator_document_name_class_member:

===============================================================================
DocumentAuthenticator.documentName Property
===============================================================================

Module: :ref:`DocumentAuthenticator<id3_document_document_authenticator_class>`

Type: string

Definition
----------

Document type to authenticate.


.. tab-set::

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

    .. code:: Python

      document_name: str


    **Exceptions**

      .. line-block::

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

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

    .. code:: Dart

      String get documentName => getDocumentName();
      set documentName(String value) => setDocumentName(value);


    **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 string documentName
      {
          get => GetdocumentName();
          set => SetdocumentName(ref value);
      }


    **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 String getDocumentName() throws DocumentException
      public void setDocumentName(String documentName) throws DocumentException


    **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 var documentName: String
          get {
              return try! getDocumentName()
          }
      }


    **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 id3DocumentAuthenticator_GetDocumentName (ID3_DOCUMENT_AUTHENTICATOR hDocumentAuthenticator, char * documentName, int * documentNameSize)
      int id3DocumentAuthenticator_SetDocumentName (ID3_DOCUMENT_AUTHENTICATOR hDocumentAuthenticator, const char * documentName)

    **Returns**
   
      .. line-block::

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

