InstancesArticle [] (index:
number)
Returns the Article with the specified index.
Parameter | Type | Description |
index | number | The index. |
Article add ([name:
string][, articleExportStatus:
bool][, at:
LocationOptions=LocationOptions.AT_END][, reference:
Article][, withProperties:
Object])
Creates a new Article
Parameter | Type | Description |
name | string | The article name (Optional) |
articleExportStatus | bool | The article's export status (Optional) |
at | LocationOptions: LocationOptions.BEFORE LocationOptions.AFTER LocationOptions.AT_END LocationOptions.AT_BEGINNING LocationOptions.UNKNOWN | The location relative to the reference object or within the containing object. (Optional) (default: LocationOptions.AT_END) |
reference | Article | The reference object. Note: Required when the to value specifies before or after. (Optional) |
withProperties | Object | Initial values for properties of the new Article (Optional) |
Article anyItem ()
Returns any Article in the collection.
number count ()
Displays the number of elements in the Article.
Array of Article everyItem ()
Returns every Article in the collection.
Article firstItem ()
Returns the first Article in the collection.
Article item (index:
varies)
Returns the Article with the specified index or name.
Parameter | Type | Description |
index | Long Integer String | The index or name. Can accept: Long Integer or String. |
Article itemByID (id:
number)
Returns the Article with the specified ID.
Parameter | Type | Description |
id | number | The ID. |
Article itemByName (name:
string)
Returns the Article with the specified name.
Parameter | Type | Description |
name | string | The name. |
Array of Article itemByRange (from:
varies, to:
varies)
Returns the Articles within the specified range.
Parameter | Type | Description |
from | Article Long Integer String | The Article, index, or name at the beginning of the range. Can accept: Article, Long Integer or String. |
to | Article Long Integer String | The Article, index, or name at the end of the range. Can accept: Article, Long Integer or String. |
Article lastItem ()
Returns the last Article in the collection.
Article middleItem ()
Returns the middle Article in the collection.
Article nextItem (obj:
Article)
Returns the Article whose index follows the specified Article in the collection.
Parameter | Type | Description |
obj | Article | The Article whose index comes before the desired Article. |
Article previousItem (obj:
Article)
Returns the Article with the index previous to the specified index.
Parameter | Type | Description |
obj | Article | The index of the Article that follows the desired Article. |
string toSource ()
Generates a string which, if executed, will return the Article.
|