Instance Properties
| Name | Description | Access |
|---|---|---|
| length | number The number of objects in the collection. | read-only |
Methods
| add( | fullName [, at] [, withProperties]) |
→ BookContent |
| anyItem( | ) |
→ BookContent |
| count( | ) |
→ number |
| everyItem( | ) |
→ BookContent |
| firstItem( | ) |
→ BookContent |
| item( | index) |
→ BookContent |
| itemByID( | id) |
→ BookContent |
| itemByName( | name) |
→ BookContent |
| itemByRange( | from, to) |
→ BookContent |
| lastItem( | ) |
→ BookContent |
| middleItem( | ) |
→ BookContent |
| nextItem( | obj) |
→ BookContent |
| previousItem( | obj) |
→ BookContent |
| toSource( | ) |
→ string |
-
add( fullName [, at=-1] [, withProperties])→ BookContent -
Creates a new book content object.
fullNameFile The full path name of the new book content object. atnumber The location of the book content object within the book. (Optional) withPropertiesObject Initial values for properties of the new BookContent (Optional) -
anyItem( )→ BookContent -
Returns any BookContent in the collection.
-
count( )→ number -
Displays the number of elements in the BookContent.
-
everyItem( )→ BookContent -
Returns every BookContent in the collection.
-
firstItem( )→ BookContent -
Returns the first BookContent in the collection.
-
item( index)→ BookContent -
Returns the BookContent with the specified index or name.
indexThe index or name. Can accept: Long Integer or String. -
itemByID( id)→ BookContent -
Returns the BookContent with the specified ID.
idnumber The ID. -
itemByName( name)→ BookContent -
Returns the BookContent with the specified name.
namestring The name. -
itemByRange( from, to)→ BookContent -
Returns the BookContents within the specified range.
fromThe BookContent, index, or name at the beginning of the range. Can accept: BookContent, Long Integer or String. toThe BookContent, index, or name at the end of the range. Can accept: BookContent, Long Integer or String. -
lastItem( )→ BookContent -
Returns the last BookContent in the collection.
-
middleItem( )→ BookContent -
Returns the middle BookContent in the collection.
-
nextItem( obj)→ BookContent -
Returns the BookContent whose index follows the specified BookContent in the collection.
objBookContent The BookContent whose index comes before the desired BookContent. -
previousItem( obj)→ BookContent -
Returns the BookContent with the index previous to the specified index.
objBookContent The index of the BookContent that follows the desired BookContent. -
toSource( )→ string -
Generates a string which, if executed, will return the BookContent.