Retrieves the index of the current enumeration value.
An integer value that contains the respective index of the current enumeration value.