DefaultParameterDictionary Class

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Contains a versionable dictionary of default parameters. This class cannot be inherited. Introduced in Windows PowerShell 3.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

System.Object
  System.Collections.Hashtable
    System.Management.Automation.DefaultParameterDictionary

public sealed class DefaultParameterDictionary : Hashtable

NameDescription
System_CAPS_pubmethodDefaultParameterDictionary()

Initializes a new instance of the DefaultParameterDictionary class with the default options. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodDefaultParameterDictionary(IDictionary)

Initializes a new instance of the DefaultParameterDictionary class with a dictionary. Introduced in Windows PowerShell 3.0.

NameDescription
System_CAPS_pubpropertyCount

(Inherited from Hashtable.)

System_CAPS_pubpropertyIsFixedSize

(Inherited from Hashtable.)

System_CAPS_pubpropertyIsReadOnly

(Inherited from Hashtable.)

System_CAPS_pubpropertyIsSynchronized

(Inherited from Hashtable.)

System_CAPS_pubpropertyItem[Object]

Gets or sets the value that is associated with a dictionary key. Implement the indexing to check for key's format and make it versionable.Introduced in Windows PowerShell 3.0.(Overrides Hashtable.Item[Object].)

System_CAPS_pubpropertyKeys

(Inherited from Hashtable.)

System_CAPS_pubpropertySyncRoot

(Inherited from Hashtable.)

System_CAPS_pubpropertyValues

(Inherited from Hashtable.)

NameDescription
System_CAPS_pubmethodAdd(Object, Object)

Adds an entry to the dictionary and makes it versionable. When implementing the Add method check the format of the key and make it versionable.Introduced in Windows PowerShell 3.0.(Overrides Hashtable.Add(Object, Object).)

System_CAPS_pubmethodChangeSinceLastCheck()

Checks whether the dictionary has been changed since the last check. Introduced in Windows PowerShell 3.0.

System_CAPS_pubmethodClear()

Removes all entries from the dictionary and makes it versionable. Introduced in Windows PowerShell 3.0.(Overrides Hashtable.Clear().)

System_CAPS_pubmethodClone()

(Inherited from Hashtable.)

System_CAPS_pubmethodContains(Object)

Determines if the current instance contains the specified key.

This element is introduced in Windows PowerShell 5.0.(Overrides Hashtable.Contains(Object).)

System_CAPS_pubmethodContainsKey(Object)

Determines if the current instance contains the specified key. (Overrides Hashtable.ContainsKey(Object).)

System_CAPS_pubmethodContainsValue(Object)

(Inherited from Hashtable.)

System_CAPS_pubmethodCopyTo(Array, Int32)

(Inherited from Hashtable.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

(Inherited from Hashtable.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

(Inherited from Hashtable.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodOnDeserialization(Object)

(Inherited from Hashtable.)

System_CAPS_pubmethodRemove(Object)

Removes an entry from the dictionary and makes it versionable. Introduced in Windows PowerShell 3.0.(Overrides Hashtable.Remove(Object).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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

Return to top

Community Additions

ADD
Show: