.. index:: 
  !TextFieldList.get Method
  
.. _id3_document_text_field_list_get_class_method:

===============================================================================
TextFieldList.get Method
===============================================================================

Module: :ref:`TextFieldList<id3_document_text_field_list_class>`

Definition
----------

Gets an item of the TextFieldList object.


.. tab-set::

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

      .. code:: Python

        get(self, index: int) -> TextField

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the TextField item to get.


      **Returns**

        .. line-block::

          :ref:`TextField<id3_document_text_field_class>`
          TextField item to get.

      **Exceptions**

        .. line-block::

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


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

      .. code:: Dart

        TextField get(int index)

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the TextField item to get.


      **Returns**

        .. line-block::

          :ref:`TextField<id3_document_text_field_class>`
          TextField item to get.

      **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 TextField Get(int index)

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the TextField item to get.


      **Returns**

        .. line-block::

          :ref:`TextField<id3_document_text_field_class>`
          TextField item to get.

      **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 TextField get(int index) throws DocumentException

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the TextField item to get.


      **Returns**

        .. line-block::

          :ref:`TextField<id3_document_text_field_class>`
          TextField item to get.

      **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 func get(index: Int32) throws -> TextField

      **Parameters**

        .. line-block::

          ``index`` Int32
          :guilabel:`in` Index of the TextField item to get.


      **Returns**

        .. line-block::

          :ref:`TextField<id3_document_text_field_class>`
          TextField item to get.

      **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 id3DocumentTextFieldList_Get (
            ID3_DOCUMENT_TEXT_FIELD_LIST hTextFieldList, 
            int index, 
            ID3_DOCUMENT_TEXT_FIELD hTextFieldItem)

      **Parameters**

        .. line-block::

          ``hTextFieldList`` :ref:`ID3_DOCUMENT_TEXT_FIELD_LIST<id3_document_text_field_list_class>`
          :guilabel:`in` Handle to the TextFieldList object.

          ``index`` int
          :guilabel:`in` Index of the TextField item to get.

          ``hTextFieldItem`` :ref:`ID3_DOCUMENT_TEXT_FIELD<id3_document_text_field_class>`
          :guilabel:`out` TextField item to get.


      **Returns**

        .. line-block::

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


