Delen via


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 ref class PSPrimitiveDictionary sealed : System::Collections::Hashtable
[System.Serializable]
public sealed class PSPrimitiveDictionary : System.Collections.Hashtable
public sealed class PSPrimitiveDictionary : System.Collections.Hashtable
[<System.Serializable>]
type PSPrimitiveDictionary = class
    inherit Hashtable
type PSPrimitiveDictionary = class
    inherit Hashtable
Public NotInheritable Class PSPrimitiveDictionary
Inherits Hashtable
Inheritance
PSPrimitiveDictionary
Attributes

Constructors

PSPrimitiveDictionary()

Initializes a new empty instance of the PSPrimitiveDictionary class.

PSPrimitiveDictionary(Hashtable)

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

Properties

Item[Object]

Gets or sets the value associated with the specified key.

Item[String]

Gets or sets the value associated with the specified key.

Methods

Add(Object, Object)

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

Add(String, Boolean)

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

Add(String, Boolean[])

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

Add(String, Byte)

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

Add(String, Byte[])

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

Add(String, Char)

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

Add(String, Char[])

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

Add(String, DateTime)

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

Add(String, DateTime[])

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

Add(String, Decimal)

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

Add(String, Decimal[])

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

Add(String, Double)

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

Add(String, Double[])

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

Add(String, Guid)

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

Add(String, Guid[])

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

Add(String, Int32)

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

Add(String, Int32[])

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

Add(String, Int64)

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

Add(String, Int64[])

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

Add(String, PSPrimitiveDictionary)

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

Add(String, PSPrimitiveDictionary[])

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

Add(String, SByte)

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

Add(String, SByte[])

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

Add(String, Single)

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

Add(String, Single[])

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

Add(String, String)

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

Add(String, String[])

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

Add(String, TimeSpan)

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

Add(String, TimeSpan[])

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

Add(String, UInt16)

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

Add(String, UInt16[])

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

Add(String, UInt32)

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

Add(String, UInt32[])

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

Add(String, UInt64)

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

Add(String, UInt64[])

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

Add(String, Uri)

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

Add(String, Uri[])

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

Add(String, Version)

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

Add(String, Version[])

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

Clone()

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

Applies to