Difference between revisions of "Collection"

From Lianjapedia
Jump to: navigation, search
 
Line 31: Line 31:
 
|valign="top"|Adds the specified item to the collection
 
|valign="top"|Adds the specified item to the collection
 
|-
 
|-
|valign="top"|Remove
+
|valign="top"|Clear
|valign="top"|name as Character
+
|valign="top"|None
|valign="top"|Removes the specified item from the collection
+
|valign="top"|Remove all items from the collection
 
|-
 
|-
 
|valign="top"|Item
 
|valign="top"|Item
Line 39: Line 39:
 
|valign="top"|Returns the specified item
 
|valign="top"|Returns the specified item
 
|-
 
|-
|valign="top"|Clear
+
|valign="top"|Remove
|valign="top"|None
+
|valign="top"|name as Character
|valign="top"|Remove all items from the collection
+
|valign="top"|Removes the specified item from the collection
 
|-
 
|-
 
|}
 
|}

Latest revision as of 05:57, 30 April 2013

Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.

Properties

This class supports the Common Properties plus the following:

Property Access (R/RW) Value Description
Count R Numeric Returns number of items

Methods

This class supports the Common Methods plus the following:

Method Args Description
Add name as Character, value as Expr Adds the specified item to the collection
Clear None Remove all items from the collection
Item name as Character | index as Numeric Returns the specified item
Remove name as Character Removes the specified item from the collection

Events

This class supports the Common Events plus the following:

Event Args Description