Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overridable ReadOnly Property Keys As ICollection 'Usage Dim instance As Hashtable Dim value As ICollection value = instance.Keys
Property ValueAn ICollection containing the keys in the Hashtable.
The order of the keys in the ICollection is unspecified, but it is the same order as the associated values in the ICollection returned by the Values method.
The returned ICollection is not a static copy; instead, the ICollection refers back to the keys in the original Hashtable. Therefore, changes to the Hashtable continue to be reflected in the ICollection.
Retrieving the value of this property is an O(1) operation.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.