Platforms to show: All Mac Windows Linux Cross-Platform
GetVariantArrayValueMBS(v as Variant, index as Integer) as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | XojoRuntime | MBS Util Plugin | 13.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This function is to allow getting objects from an array inside a variant without known the class used to declare array.
Returns nil on any error.
Updated in 13.5 plugins to raise exception is array is nil.
Also updated in v13.5 to work with object, variant, string, date, integer, double, single, boolean, Int64 arrays. Other array types will raise exception.
Some examples using this global method:
Blog Entries
The items on this page are in the following plugins: MBS Util Plugin.