.. index:: 
  !FaceTemplateList.removeAt Method
  
.. _id3_face_face_template_list_remove_at_class_method:

===============================================================================
FaceTemplateList.removeAt Method
===============================================================================

Module: :ref:`FaceTemplateList<id3_face_face_template_list_class>`

Definition
----------

Removes an element of the FaceTemplateList object.


.. tab-set::

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

      .. code:: Python

        remove_at(self, index: int) -> None

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the FaceTemplate item to remove.


      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


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

      .. code:: Dart

        void removeAt(int index)

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the FaceTemplate item to remove.


      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


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

      .. code:: C#

        public void RemoveAt(int index)

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the FaceTemplate item to remove.


      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


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

      .. code:: Java

        public void removeAt(int index) throws FaceException

      **Parameters**

        .. line-block::

          ``index`` int
          :guilabel:`in` Index of the FaceTemplate item to remove.


      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


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

      .. code:: Swift

        public func removeAt(index: Int32) throws

      **Parameters**

        .. line-block::

          ``index`` Int32
          :guilabel:`in` Index of the FaceTemplate item to remove.


      **Exceptions**

        .. line-block::

          :ref:`FaceException<id3_face_face_exception>`
          An error has occurred during Face Library execution.


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

      .. code:: C

        int id3FaceTemplateList_RemoveAt (
            ID3_FACE_TEMPLATE_LIST hFaceTemplateList, 
            int index)

      **Parameters**

        .. line-block::

          ``hFaceTemplateList`` :ref:`ID3_FACE_TEMPLATE_LIST<id3_face_face_template_list_class>`
          :guilabel:`in` Handle to the FaceTemplateList object.

          ``index`` int
          :guilabel:`in` Index of the FaceTemplate item to remove.


      **Returns**

        .. line-block::

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


