O'Reilly logo

VB.NET Language in a Nutshell, Second Edition by Steven Roman PhD, Paul Lomax, Ron Petrusha

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 to Nothing.

  • The Clear method sets the Hashtable object’s Count property to 0.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required