GetValue method

The GetValue method returns the value of the variable passed as parameter to this method. The return value depends on the type of variable.  

  BSTR Name // The name of the variable

  Name     [in] This is the name of the variable whose value should be obtained.
Return values
  In case the specified value is:

  • Boolean or Integer – the return value is Integer.
  • String, ExpandString – the return value is String.
  • Multistring – the return value is a String array.
  • Data – the return value is a Byte array.

Note: If the variable doesn’t exist GetValue returns empty value.


See also
SetValue method