Moonware.Common
UpdateValue Method



Global variable identifier.
New value of global variable.
The unit of measurement.
Updates the value of global variable.
Syntax
'Declaration
 
Public Shared Sub UpdateValue( _
   ByVal keyName As String, _
   ByVal value As String, _
   ByVal unitOfMeasure As String _
) 
'Usage
 
Dim keyName As String
Dim value As String
Dim unitOfMeasure As String
 
VariableManager.UpdateValue(keyName, value, unitOfMeasure)
public static void UpdateValue( 
   string keyName,
   string value,
   string unitOfMeasure
)
public:
static void UpdateValue( 
   String^ keyName,
   String^ value,
   String^ unitOfMeasure
) 

Parameters

keyName
Global variable identifier.
value
New value of global variable.
unitOfMeasure
The unit of measurement.
Exceptions
ExceptionDescription
System.InvalidOperationExceptionVariableManager has not been initialized for this App Domain!
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

VariableManager Class
VariableManager Members

Send Feedback