PSPrimitiveDictionary Class
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Provides a hash table that contains keys that are case-insensitive strings and values that can be serialized and deserialized during Windows PowerShell remoting handshakes. This class is introduced in Windows PowerShell 2.0.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
System.Management.Automation Namespace
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
[SerializableAttribute] [DefaultMemberAttribute("Item")] public sealed class PSPrimitiveDictionary : Hashtable
/** @attribute SerializableAttribute() */
/** @attribute DefaultMemberAttribute("Item") */
public final class PSPrimitiveDictionary extends Hashtable
The primary scenario for using this dictionary is when you are creating a runspace for a remote connection. However, this dictionary can also be used whenever you need a dictionary that is guaranteed to contain only primitive types that can be serialized and deserialized. For more information about creating a runspace, see the RunspaceFactory class.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewReference
PSPrimitiveDictionary MembersSystem.Management.Automation Namespace
Other Resources
Windows PowerShell SDKSend comments about this topic to Microsoft.