CoreClasses Xojo Plugin

IArray Interface

Objects that Implement this Interface share a common interface of how to talk to a array of objects.

So if a object Implements this interface then you can always talk to it with the IArray interface methods.

Note:
Interfaces don't actually do anything. A Interface is just a promise of what methods a implementor of a interface will have.

interface IArray

Methods

AppendUse this method on containers that Implement the IArray Interface to Append a item to the container.
CountUse this function on containers that Implement the IArray Interface to get the element count from the container.
GetAtUse this method on containers that Implement the IArray Interface to get a item from a specific location from the container.
InsertUse this method on containers that Implement the IArray Interface to Insert a item to the container.
Operator_RedimImplements the Redim operator.
Operator_SubscriptImplements operator to write to the array with the ( ) indexer operator.
Operator_SubscriptImplements operator to read from the array with the ( ) indexer operator.
RemoveAtUse this method on containers that Implement the IArray Interface to remove a item from the container.
ResizeUse this method on containers that Implement the IArray Interface to resize the container.
SetAtUse this method on containers that Implement the IArray Interface to set a item at a specific location from the container.
SwapUse this method on containers that Implement the IArray Interface to swap items in the container.

[Footnote]

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