.. index:: 
  !HologramAuthenticationResultList.set Method
  
.. _id3_document_hologram_authentication_result_list_set_class_method:

===============================================================================
HologramAuthenticationResultList.set Method
===============================================================================

Module: :ref:`HologramAuthenticationResultList<id3_document_hologram_authentication_result_list_class>`

Definition
----------

Sets an item of the HologramAuthenticationResultList object.


.. tab-set::

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

      .. code:: Python

        set(self, index: int, hologram_authentication_result_item: HologramAuthenticationResult) -> None

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the HologramAuthenticationResult item to set.

          ``hologram_authentication_result_item`` :ref:`HologramAuthenticationResult<id3_document_hologram_authentication_result_class>`
          :guilabel:`in` HologramAuthenticationResult item to set.


      **Exceptions**

        .. line-block::

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


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

      .. code:: Dart

        void set(int index, HologramAuthenticationResult hologramAuthenticationResultItem)

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the HologramAuthenticationResult item to set.

          ``hologramAuthenticationResultItem`` :ref:`HologramAuthenticationResult<id3_document_hologram_authentication_result_class>`
          :guilabel:`in` HologramAuthenticationResult item to set.


      **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 void Set(int index, HologramAuthenticationResult hologramAuthenticationResultItem)

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the HologramAuthenticationResult item to set.

          ``hologramAuthenticationResultItem`` :ref:`HologramAuthenticationResult<id3_document_hologram_authentication_result_class>`
          :guilabel:`in` HologramAuthenticationResult item to set.


      **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 void set(int index, HologramAuthenticationResult hologramAuthenticationResultItem) throws DocumentException

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the HologramAuthenticationResult item to set.

          ``hologramAuthenticationResultItem`` :ref:`HologramAuthenticationResult<id3_document_hologram_authentication_result_class>`
          :guilabel:`in` HologramAuthenticationResult item to set.


      **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 set(index: Int32, hologramAuthenticationResultItem: HologramAuthenticationResult) throws

      **Parameters**

        .. line-block::

          ``index`` Int32
          :guilabel:`in` Index of the HologramAuthenticationResult item to set.

          ``hologramAuthenticationResultItem`` :ref:`HologramAuthenticationResult<id3_document_hologram_authentication_result_class>`
          :guilabel:`in` HologramAuthenticationResult item to set.


      **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 id3DocumentHologramAuthenticationResultList_Set (
            ID3_DOCUMENT_HOLOGRAM_AUTHENTICATION_RESULT_LIST hHologramAuthenticationResultList, 
            int index, 
            ID3_DOCUMENT_HOLOGRAM_AUTHENTICATION_RESULT hHologramAuthenticationResultItem)

      **Parameters**

        .. line-block::

          ``hHologramAuthenticationResultList`` :ref:`ID3_DOCUMENT_HOLOGRAM_AUTHENTICATION_RESULT_LIST<id3_document_hologram_authentication_result_list_class>`
          :guilabel:`in` Handle to the HologramAuthenticationResultList object.

          ``index`` int
          :guilabel:`in` Index of the HologramAuthenticationResult item to set.

          ``hHologramAuthenticationResultItem`` :ref:`ID3_DOCUMENT_HOLOGRAM_AUTHENTICATION_RESULT<id3_document_hologram_authentication_result_class>`
          :guilabel:`in` HologramAuthenticationResult item to set.


      **Returns**

        .. line-block::

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


