Instance Properties
| Name | Description | Access |
|---|---|---|
| length | number The number of objects in the collection. | read-only |
Methods
| add( | filePath [, versionComments] [, forceSave] [, withProperties]) |
→ Assignment |
| anyItem( | ) |
→ Assignment |
| count( | ) |
→ number |
| everyItem( | ) |
→ Assignment |
| firstItem( | ) |
→ Assignment |
| item( | index) |
→ Assignment |
| itemByID( | id) |
→ Assignment |
| itemByName( | name) |
→ Assignment |
| itemByRange( | from, to) |
→ Assignment |
| lastItem( | ) |
→ Assignment |
| middleItem( | ) |
→ Assignment |
| nextItem( | obj) |
→ Assignment |
| previousItem( | obj) |
→ Assignment |
| toSource( | ) |
→ string |
-
add( filePath [, versionComments] [, forceSave=false] [, withProperties])→ Assignment -
Creates a new assignment.
filePathFile The full path name of the new assignment. versionCommentsstring The comment for this version. (Optional) forceSavebool If true, forcibly saves a version. (Optional) withPropertiesObject Initial values for properties of the new Assignment (Optional) -
anyItem( )→ Assignment -
Returns any Assignment in the collection.
-
count( )→ number -
Displays the number of elements in the Assignment.
-
everyItem( )→ Assignment -
Returns every Assignment in the collection.
-
firstItem( )→ Assignment -
Returns the first Assignment in the collection.
-
item( index)→ Assignment -
Returns the Assignment with the specified index or name.
indexThe index or name. Can accept: Long Integer or String. -
itemByID( id)→ Assignment -
Returns the Assignment with the specified ID.
idnumber The ID. -
itemByName( name)→ Assignment -
Returns the Assignment with the specified name.
namestring The name. -
itemByRange( from, to)→ Assignment -
Returns the Assignments within the specified range.
fromThe Assignment, index, or name at the beginning of the range. Can accept: Assignment, Long Integer or String. toThe Assignment, index, or name at the end of the range. Can accept: Assignment, Long Integer or String. -
lastItem( )→ Assignment -
Returns the last Assignment in the collection.
-
middleItem( )→ Assignment -
Returns the middle Assignment in the collection.
-
nextItem( obj)→ Assignment -
Returns the Assignment whose index follows the specified Assignment in the collection.
objAssignment The Assignment whose index comes before the desired Assignment. -
previousItem( obj)→ Assignment -
Returns the Assignment with the index previous to the specified index.
objAssignment The index of the Assignment that follows the desired Assignment. -
toSource( )→ string -
Generates a string which, if executed, will return the Assignment.