Instance Properties
Name | Description | Access |
---|---|---|
length | number The number of objects in the collection. | read-only |
Methods
count( | ) |
→ number |
itemByRange( | from, to) |
→ K4Section |
k4GetById( | k4Id) |
→ Object |
k4GetByName( | k4Name) |
→ Object |
middleItem( | ) |
→ K4Section |
previousItem( | obj) |
→ K4Section |
toSource( | ) |
→ string |
-
anyItem( )→ K4Section -
Returns any K4Section in the collection.
-
count( )→ number -
Displays the number of elements in the K4Section.
-
everyItem( )→ K4Section -
Returns every K4Section in the collection.
-
firstItem( )→ K4Section -
Returns the first K4Section in the collection.
-
item( index)→ K4Section -
Returns the K4Section with the specified index or name.
index
The index or name. Can accept: Long Integer or String. -
itemByRange( from, to)→ K4Section -
Returns the K4Sections within the specified range.
from
The K4Section, index, or name at the beginning of the range. Can accept: K4Section, Long Integer or String. to
The K4Section, index, or name at the end of the range. Can accept: K4Section, Long Integer or String. -
k4GetById( k4Id)→ Object -
K4 Get By ID
k4Id
string K4 ID -
k4GetByName( k4Name)→ Object -
K4 Get By Name
k4Name
string K4 Name -
lastItem( )→ K4Section -
Returns the last K4Section in the collection.
-
middleItem( )→ K4Section -
Returns the middle K4Section in the collection.
-
nextItem( obj)→ K4Section -
Returns the K4Section whose index follows the specified K4Section in the collection.
obj
K4Section The K4Section whose index comes before the desired K4Section. -
previousItem( obj)→ K4Section -
Returns the K4Section with the index previous to the specified index.
obj
K4Section The index of the K4Section that follows the desired K4Section. -
toSource( )→ string -
Generates a string which, if executed, will return the K4Section.