Moonware.Common
GetVariable Method



Global variable identifier.
Gets the specified global variable.
Syntax
'Declaration
 
Public Shared Function GetVariable( _
   ByVal keyName As String _
) As VariableObject
'Usage
 
Dim keyName As String
Dim value As VariableObject
 
value = VariableManager.GetVariable(keyName)
public static VariableObject GetVariable( 
   string keyName
)
public:
static VariableObject^ GetVariable( 
   String^ keyName
) 

Parameters

keyName
Global variable identifier.
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