Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name

Description

CreateInstance

CreateInstance is signalled when an instance of a component is created Inherited from Object (PRIM_OBJT)

DestroyInstance

DestroyInstance is signalled when an instance of a component is about to be destroyed Inherited from Object (PRIM_OBJT)

IsEqual

Fired whenever the collection needs to compare two items

Object, Subject, Equal

Methods

Name

Description

CalculateHash

CalculateHash calculates a hash value Inherited from Collection (PRIM_COLL)

Result, Value

Contains

Does the supplied instance exist in the collection?

Result, Object

CreateAccessor

CreateAccessor creates an accessor component that provides read-only access to the collection

Result

CreateIterator

CreateIterator method creates an iterator component that enables iteration through the collection

Result

Insert

Insert adds an item to a collection

Item

InsertAfter

InsertAfter adds an item to a collection after a specified position

Item, Index

InsertBefore

InsertBefore adds an item to a collection before a specified item

Item, Index

InsertFirst

InsertFirst adds an item in the beginning of the collection

Item

InsertLast

InsertLast adds an item in the end of the collection

Item

OccurrencesOf

Find the number of occurrences of an instance in the collection

Result, Object

Remove

Remove method removes an item

Result, Object

RemoveAll

RemoveAll removes all items in the collection

RemoveAt

Removes the item at the specified position

Result, Index

RemoveFirst

Remove the first item from the collection

Result

RemoveLast

Remove the last item from the collection

Result

ReplaceAt

Replace the instance at the specified position with a different object

Result, Item, Index

See also

All Component Classes
Technical Reference