Adds a parameter to an element.
eOk if the operation completed successfully, or an appropriate error code otherwise.