.. index:: 
  !DocumentInfoDictionary.keys Property

.. _id3_document_document_info_dictionary_keys_class_member:

===============================================================================
DocumentInfoDictionary.keys Property
===============================================================================

Module: :ref:`DocumentInfoDictionary<id3_document_document_info_dictionary_class>`

Type: :ref:`StringList<id3_document_string_list_class>`

Definition
----------

Gets a string list containing the keys in the dict.


.. tab-set::

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

    .. code:: Python

      keys: StringList


    **Exceptions**

      .. line-block::

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

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

    .. code:: Dart

      StringList get keys => getKeys();


    **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 StringList keys
      {
          get => Getkeys();
      }


    **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 StringList getKeys() 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 keys: StringList
          get {
              return try! getKeys()
          }
      }


    **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 id3DocumentInfoDictionary_GetKeys (ID3_DOCUMENT_INFO_DICTIONARY hDocumentInfoDictionary, ID3_DOCUMENT_STRING_LIST hKeys)

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

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

