PSPrimitiveDictionary PSPrimitiveDictionary PSPrimitiveDictionary Class

Definition

PSPrimitiveDictionary is a Hashtable that is limited to 1) case-insensitive strings as keys and 2) values that can be serialized and deserialized during PowerShell remoting handshake (in major-version compatible versions of PowerShell remoting)

public sealed class PSPrimitiveDictionary : System.Collections.Hashtable
type PSPrimitiveDictionary = class
    inherit Hashtable
Public NotInheritable Class PSPrimitiveDictionary
Inherits Hashtable
Inheritance
PSPrimitiveDictionaryPSPrimitiveDictionaryPSPrimitiveDictionary

Constructors

PSPrimitiveDictionary() PSPrimitiveDictionary() PSPrimitiveDictionary()

Initializes a new empty instance of the PSPrimitiveDictionary class

PSPrimitiveDictionary(Hashtable) PSPrimitiveDictionary(Hashtable) PSPrimitiveDictionary(Hashtable)

Initializes a new instance of the PSPrimitiveDictionary class with contents copied from the other hashtable.

Properties

Item[Object] Item[Object] Item[Object]

Gets or sets the value associated with the specified key.

Item[String] Item[String] Item[String]

Gets or sets the value associated with the specified key.

Methods

Add(String, SByte[]) Add(String, SByte[]) Add(String, SByte[])

Adds an element with the specified key and value into the Hashtable

Add(String, Single) Add(String, Single) Add(String, Single)

Adds an element with the specified key and value into the Hashtable

Add(String, Single[]) Add(String, Single[]) Add(String, Single[])

Adds an element with the specified key and value into the Hashtable

Add(String, String) Add(String, String) Add(String, String)

Adds an element with the specified key and value into the Hashtable

Add(String, String[]) Add(String, String[]) Add(String, String[])

Adds an element with the specified key and value into the Hashtable

Add(String, TimeSpan) Add(String, TimeSpan) Add(String, TimeSpan)

Adds an element with the specified key and value into the Hashtable

Add(String, TimeSpan[]) Add(String, TimeSpan[]) Add(String, TimeSpan[])

Adds an element with the specified key and value into the Hashtable

Add(String, UInt16) Add(String, UInt16) Add(String, UInt16)

Adds an element with the specified key and value into the Hashtable

Add(String, UInt16[]) Add(String, UInt16[]) Add(String, UInt16[])

Adds an element with the specified key and value into the Hashtable

Add(String, UInt32) Add(String, UInt32) Add(String, UInt32)

Adds an element with the specified key and value into the Hashtable

Add(String, UInt32[]) Add(String, UInt32[]) Add(String, UInt32[])

Adds an element with the specified key and value into the Hashtable

Add(String, UInt64) Add(String, UInt64) Add(String, UInt64)

Adds an element with the specified key and value into the Hashtable

Add(String, UInt64[]) Add(String, UInt64[]) Add(String, UInt64[])

Adds an element with the specified key and value into the Hashtable

Add(String, Uri) Add(String, Uri) Add(String, Uri)

Adds an element with the specified key and value into the Hashtable

Add(String, Uri[]) Add(String, Uri[]) Add(String, Uri[])

Adds an element with the specified key and value into the Hashtable

Add(String, Version) Add(String, Version) Add(String, Version)

Adds an element with the specified key and value into the Hashtable

Add(String, Version[]) Add(String, Version[]) Add(String, Version[])

Adds an element with the specified key and value into the Hashtable

Add(String, SByte) Add(String, SByte) Add(String, SByte)

Adds an element with the specified key and value into the Hashtable

Add(String, PSPrimitiveDictionary[]) Add(String, PSPrimitiveDictionary[]) Add(String, PSPrimitiveDictionary[])

Adds an element with the specified key and value into the Hashtable

Add(String, PSPrimitiveDictionary) Add(String, PSPrimitiveDictionary) Add(String, PSPrimitiveDictionary)

Adds an element with the specified key and value into the Hashtable

Add(String, Int64[]) Add(String, Int64[]) Add(String, Int64[])

Adds an element with the specified key and value into the Hashtable

Add(Object, Object) Add(Object, Object) Add(Object, Object)

Adds an element with the specified key and value into the Hashtable

Add(String, Boolean) Add(String, Boolean) Add(String, Boolean)

Adds an element with the specified key and value into the Hashtable

Add(String, Boolean[]) Add(String, Boolean[]) Add(String, Boolean[])

Adds an element with the specified key and value into the Hashtable

Add(String, Byte) Add(String, Byte) Add(String, Byte)

Adds an element with the specified key and value into the Hashtable

Add(String, Byte[]) Add(String, Byte[]) Add(String, Byte[])

Adds an element with the specified key and value into the Hashtable

Add(String, Char) Add(String, Char) Add(String, Char)

Adds an element with the specified key and value into the Hashtable

Add(String, Char[]) Add(String, Char[]) Add(String, Char[])

Adds an element with the specified key and value into the Hashtable

Add(String, DateTime) Add(String, DateTime) Add(String, DateTime)

Adds an element with the specified key and value into the Hashtable

Add(String, DateTime[]) Add(String, DateTime[]) Add(String, DateTime[])

Adds an element with the specified key and value into the Hashtable

Add(String, Decimal[]) Add(String, Decimal[]) Add(String, Decimal[])

Adds an element with the specified key and value into the Hashtable

Add(String, Double) Add(String, Double) Add(String, Double)

Adds an element with the specified key and value into the Hashtable

Add(String, Double[]) Add(String, Double[]) Add(String, Double[])

Adds an element with the specified key and value into the Hashtable

Add(String, Guid) Add(String, Guid) Add(String, Guid)

Adds an element with the specified key and value into the Hashtable

Add(String, Guid[]) Add(String, Guid[]) Add(String, Guid[])

Adds an element with the specified key and value into the Hashtable

Add(String, Int32) Add(String, Int32) Add(String, Int32)

Adds an element with the specified key and value into the Hashtable

Add(String, Int32[]) Add(String, Int32[]) Add(String, Int32[])

Adds an element with the specified key and value into the Hashtable

Add(String, Int64) Add(String, Int64) Add(String, Int64)

Adds an element with the specified key and value into the Hashtable

Add(String, Decimal) Add(String, Decimal) Add(String, Decimal)

Adds an element with the specified key and value into the Hashtable

Clone() Clone() Clone()

Creates a new instance by doing a shallow copy of the current instance.

Applies to