Hashtable
Previous  Next

The Hashtable object provides the following methods and properties



Methods

Add(Key As String, Val As String) :  Adds the key/value pair to the collection.

Clear : Clears the collection.

ContainsKey(Obj As String) : Returns true if the collection contains Obj, false if not.

ContainsValue(Obj As String) : Returns true if the collection contains Obj, false if not.

ToArrayKeys : Returns the keys of the collection as an array.

ToArrayValues : Returns the values of the collection as an array.

Item(Key As String) : Returns the value of the key/value pair with that key.

Remove(Key As String) : Removes from the collection the key/value pair with that key.


Properties

I signifies readable, O signifies settable.


Count : Int32 [I] : The number of items in the collection.

ControlRef : Control [I] : The underlying .NET Hashtable collection control. Not useful within Basic4PPC.

 Dllversion : Double [I] : The version number of this library.