Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

StringToVariantHashMapIteratorMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Data Types MBS DataTypes Plugin 8.2 Yes Yes Yes Yes No
Function: The iterator for the StringToVariantHashMap class.
Example:
// Create a map
dim m as new StringToVariantHashMapMBS

m.value("1")="Hello"
m.value("2")="World"
m.value("3")="!"

// get iterators pointing to first and after last element
dim i as StringToVariantHashMapIteratorMBS = m.first
dim e as StringToVariantHashMapIteratorMBS = m.last

// Show all keys and values
while i.isNotEqual(e)
MsgBox str(i.Key)+" -> "+i.Value
i.MoveNext
wend

Feedback, Comments & Corrections

  • property Value as Variant
  • 4 methods
    • method isEqual(other as StringToVariantHashMapIteratorMBS) as boolean
    • method isNotEqual(other as StringToVariantHashMapIteratorMBS) as boolean
    • method Key as string
    • method MoveNext

This class has no sub classes.

Some methods using this class:


The items on this page are in the following plugins: MBS DataTypes Plugin.


StringToStringOrderedMapMBS   -   StringToVariantHashMapMBS




Links
MBS Xojo Plugins