.. include:: ../../toolkit-substitutions

.. oe:namespace:: OESpruce

.. oe:function:: OEGetAlternateLocationOptionID

   .. attention::

      |TWOLANGUAGE|

   .. oe:language:: c++ java csharp

      .. oe:api::

         unsigned OEGetAlternateLocationOptionID(std::string optionName)

   .. oe:language:: python

      .. oe:api:: python

         OEGetAlternateLocationOptionID(optionName: str) -> int

   Returns the unsigned integer version of the string option name from the
   :oe:constns:`OESpruce::OEAlternateLocationOption` namespace.