Moonware.Common
Contains Method



Global variable identifier.
Determines whether manager contains the global variable specified by key.
Syntax
'Declaration
 
Public Shared Function Contains( _
   ByVal keyName As String _
) As Boolean
'Usage
 
Dim keyName As String
Dim value As Boolean
 
value = VariableManager.Contains(keyName)
public static bool Contains( 
   string keyName
)
public:
static bool Contains( 
   String^ keyName
) 

Parameters

keyName
Global variable identifier.

Return Value

true if manager contains the specified global variable; otherwise, false.
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