CoreClasses Xojo Plugin

VariantArray Class (console safe)

VariantArray is a high speed relocatable variant array class.

The variant array is different from Xojo array since a variant array can be inherited, variants can be sorted, items can be swapped, plugins can use it for cross talk, and it has a iterator interface.

Object
   VariantArray

class VariantArray implements

IVariantAddable

Constructors

VariantArrayThe default constructor for the VariantArray class.
VariantArrayUse this constructor to construct a instance of the array and have influence on the grow rate of the array.

Methods

Add (console safe) Use this method to add a variant to the array.
Append (console safe) Use this method to append a variant to the array.
Count (console safe) Use this function to get the element count from the array.
IndexOf (console safe) Returns a index of a element in the array.
Insert (console safe) Use this method to insert a Variant to the array.
Item (console safe) Use this setter/getter function to read or write to a item in the array.
Operator_Redim (console safe) Implements the Redim operator.
Operator_Subscript (console safe) Implements operator to read from the array with the ( ) indexer operator.
Operator_Subscript (console safe) Implements operator to write to the array with the ( ) indexer operator.
Remove (console safe) Use this method to remove a single variant from the array.
Remove (console safe) Use this method to remove variants from the array.
Resize (console safe) Use this method to resize the array.
Sort (console safe) Use this method to sort the array.
Swap (console safe) Use this method to swap two Variants in the array.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM