.. index:: 
  !DocumentInfo.country Property

.. _id3_document_document_info_country_class_member:

===============================================================================
DocumentInfo.country Property
===============================================================================

Module: :ref:`DocumentInfo<id3_document_document_info_class>`

Type: string

Definition
----------

The ISO 3166-1 alpha-3 code identifying the country issuing the document.


.. tab-set::

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

    .. code:: Python

      country: 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 country => getCountry();


    **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 country
      {
          get => Getcountry();
      }


    **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 getCountry() 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 country: String
          get {
              return try! getCountry()
          }
      }


    **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 id3DocumentInfo_GetCountry (ID3_DOCUMENT_INFO hDocumentInfo, char * country, int * countrySize)

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

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

