========================
**settingValue** element
========================
The **settingValue** allows referencing a setting value in configuration file.
.. note::
For more details on settings see :doc:`../settings`.
.. note::
Refer to :doc:`../../sample-files/IoCConfiguration_settingValue_ReferencingInConfiguration.generated` for more examples on **settingValue** element.
Example 1: Using **settingValue** element to provide a service implementation
=============================================================================
.. code-block:: xml
:linenos:
Example 2: Using **settingValue** element in **collection** element
===================================================================
.. code-block:: xml
:linenos:
Example 3: Using **settingValue** element to specify constructor parameter and injected property values
=======================================================================================================
.. code-block:: xml
:linenos:
Example 4: Referencing setting values in **autoMethod** and **autoProperty** elements
=====================================================================================
.. code-block:: xml
:linenos:
Example 5: Referencing setting value in **if** element under **autoMethod** element
===================================================================================
.. code-block:: xml
:linenos: