Platforms to show: All Mac Windows Linux Cross-Platform
Back to IntegerToVariantOrderedMapMBS class.
IntegerToVariantOrderedMapMBS.AddKeys(targetArray() as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For older Xojo version 2007/2008 where the plugin can't create an array, so the values and keys function returns always nil.
IntegerToVariantOrderedMapMBS.AddValues(targetArray() as Variant)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
For older Xojo version 2007/2008 where the plugin can't create an array, so the values and keys function returns always nil.
IntegerToVariantOrderedMapMBS.Clear
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToVariantOrderedMapMBS.Clone as IntegerToVariantOrderedMapMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToVariantOrderedMapMBS.CloneDictionary as Dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToVariantOrderedMapMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToVariantOrderedMapMBS.Constructor(dic as dictionary)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToVariantOrderedMapMBS.Constructor(other as IntegerToVariantOrderedMapMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToVariantOrderedMapMBS.CountKey(key as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToVariantOrderedMapMBS.find(key as Integer) as IntegerToVariantOrderedMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns the same value as the last method if the item was not found.
IntegerToVariantOrderedMapMBS.first as IntegerToVariantOrderedMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToVariantOrderedMapMBS.hasKey(key as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToVariantOrderedMapMBS.Key(index as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If there is no Indexth item in the map, a call generates an OutOfBoundsException error. The first item has the index zero.
IntegerToVariantOrderedMapMBS.Keys as Integer()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The order is stable and matches the order returned by the Values method at least until the Dictionary is modified. Use this method with For Each to loop through all the keys.
IntegerToVariantOrderedMapMBS.last as IntegerToVariantOrderedMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToVariantOrderedMapMBS.lookup(key as Integer, defaultvalue as Variant) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If Key is found, it returns the corresponding value. If Key is not found, it returns the passed defaultValue.
IntegerToVariantOrderedMapMBS.LowerBound(key as Integer) as IntegerToVariantOrderedMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToVariantOrderedMapMBS.Operator_Convert as Dictionary
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 12.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToVariantOrderedMapMBS.Remove(first as IntegerToVariantOrderedMapIteratorMBS, last as IntegerToVariantOrderedMapIteratorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToVariantOrderedMapMBS.Remove(key as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToVariantOrderedMapMBS.Remove(pos as IntegerToVariantOrderedMapIteratorMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also:
IntegerToVariantOrderedMapMBS.UpperBound(key as Integer) as IntegerToVariantOrderedMapIteratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
IntegerToVariantOrderedMapMBS.value(key as Integer) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If you query for a key which does not exist, a KeyNotFoundException is raised.
(Read and Write computed property)
IntegerToVariantOrderedMapMBS.ValueAtIndex(index as Integer) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If there is no Indexth item in the map, a call generates an OutOfBoundsException error. The first item has the index zero.
IntegerToVariantOrderedMapMBS.Values as Variant()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Data Types | MBS DataTypes Plugin | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The order is stable and matches the order returned by Keys at least until the Map is modified. Use this method with For Each to loop through all the values.
The items on this page are in the following plugins: MBS DataTypes Plugin.