Represents global named values stored by a key value into a dictionary that is accessible by the Configuration Manager 2007 console framework. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As SmsNamedValuesDictionary

Syntax

Visual Basic
<SerializableAttribute> _
<DefaultMemberAttribute("Item")> _
Public Class SmsNamedValuesDictionary
		Inherits Dictionary(Of String, Object)
C#
[SerializableAttribute] 
[DefaultMemberAttribute("Item")] 
public class SmsNamedValuesDictionary : Dictionary<string,Object>
C++
[SerializableAttribute] 
[DefaultMemberAttribute(L"Item")] 
public ref class SmsNamedValuesDictionary : public Dictionary<String^, Object^>
J#
/** @attribute SerializableAttribute() */ 
/** @attribute DefaultMemberAttribute("Item") */ 
public class SmsNamedValuesDictionary extends Dictionary<String,Object>
JScript
SerializableAttribute 
DefaultMemberAttribute("Item") 
public class SmsNamedValuesDictionary extends Dictionary<String,Object>

Remarks

Named values are stored by using a string key and are unboxed prior to their storage. Your application is expected to be aware of the type of named values to box the values as appropriate.

The application uses this class through the NamedValueDictionary property. The SmsNamedValuesDictionary object is pre-populated with a number of values that can be used in the application. For details, see How to Add a Configuration Manager Context Qualifier by Using Managed Code.


Inheritance Hierarchy

System.Object
   System.Collections.Generic.Dictionary
    Microsoft.ConfigurationManagement.ManagementProvider.SmsNamedValuesDictionary

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also