Name
Hashtable.Clear Method
Class
System.Collections.Hashtable
Syntax
hashtablevariable
.Clear( )
Return Value
None
Description
Removes all entries from the hash table
Rules at a Glance
The Clear method removes all items from the collection, leaving the
Hashtable
object uninitialized. It does not set the object toNothing
.The Clear method sets the
Hashtable
object’s Count property to 0.
Get VB .NET Language in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.