Name

Hashtable.Count Property

Class

System.Collections.Hashtable

Syntax

                  hashtablevariable.Count(  )
hashtablevariable (required; Hashtable object)

A reference to a Hashtable object

Return Value

An Integer indicating the number of elements in the hash table

Description

This read-only property returns an Integer specifying the number of elements in the hash table.

Get VB.NET Language in a Nutshell, Second Edition 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.