AddRefCollection - RefCollectionAlias

Member of: RefCollectionAlias Script

Adds the contents of the passed-in collection alias to this one.

SyntaxEdit

Function AddRefCollection(RefCollectionAlias refCollectionAliasToAdd)

ParametersEdit

  • refCollectionAliasToAdd: The alias whose contents should be added to ours

Return ValueEdit

None.

ExamplesEdit

; Merge the two aliases
Collection1.AddRefCollection(Collection2)

See AlsoEdit

NotesEdit

  • A RefCollectionAlias will automatically shrink and expand its size when items are added or removed. The collection's count can be measured with the GetCount function.