Moonware.Common
CreateGlobalVariable Method



Global variable identifier.
The variable object.
Creates the global variable.
Syntax
'Declaration
 
Public Shared Sub CreateGlobalVariable( _
   ByVal keyName As String, _
   ByVal variableObject As VariableObject _
) 
'Usage
 
Dim keyName As String
Dim variableObject As VariableObject
 
VariableManager.CreateGlobalVariable(keyName, variableObject)
public static void CreateGlobalVariable( 
   string keyName,
   VariableObject variableObject
)
public:
static void CreateGlobalVariable( 
   String^ keyName,
   VariableObject^ variableObject
) 

Parameters

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