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

Converting the Dictionary Object's RemoveAll Method


Windows PowerShell


Definition: Remove all key/item pairs.

RemoveAll


You can remove everything - all key/item pairs - from a hash table by calling the Clear method on the hash table.


$food.Clear()


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
Show:
© 2014 Microsoft. All rights reserved.