Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Converting the Dictionary Object's Remove Method

Windows PowerShell

Definition: Remove a key/item pair.


This is a pretty simple one. The hash table equivalent of the Remove method on a Dictionary object is the - yes, that’s right - the Remove method:


This will remove the Key carrot and its corresponding item from the hash table.

See conversions of other Dictionary object methods and properties.
Return to the VBScript to Windows PowerShell home page

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.