Library | Module

Class IpfcParameters



Description

Specifies a list of parameters.

The user can access elements by their integer index (position) in the list. Sequence provides methods for positional (indexed) access to its elements. Sequences are zero based.



Property Summary

PropertyCountas Long [readonly] 
Returns the number of items in the sequence.



Method Summary

SubAppend ( Item as IpfcParameter )
Adds a new item to the end of the sequence.
SubClear ( )
Removes all items from the sequence.
SubInsert ( AtIndex as Long , Item as IpfcParameter )
Inserts a new item in front of the sequence item with the specified index. If the index is out of range, the sequence is expanded to include this index.
SubInsertSeq ( AtIndex as Long , Sequence as IpfcParameters )
Inserts a sequence of items passed as the second argument in front of the sequence item with the specified index. If the index is out of range, the sequence is expanded to include this index.
FunctionItem ( Index as Long ) as IpfcParameter
Accesses an item by its index in the sequence. If the index is out of range, this method throws the cipXInvalidSeqIndex exception.
SubRemove ( FromIndex as Long , ToIndex as Long )
Removes items in the specified range from the sequence. The first argument specifies the index of the first item to be removed. The second argument specifies the index of the item immediately after the last in the range to be removed.
SubSet ( Index as Long , Item as IpfcParameter )
Assigns an item to the designated index in the sequence. If the index is out of range, the sequence is expanded to include this index.



Property Detail


PropertyCountas Long [readonly] 

Returns the number of items in the sequence.


Method Detail


SubAppend ( Item as IpfcParameter )

Adds a new item to the end of the sequence.



SubClear ( )

Removes all items from the sequence.



SubInsert ( AtIndex as Long , Item as IpfcParameter )

Inserts a new item in front of the sequence item with the specified index. If the index is out of range, the sequence is expanded to include this index.



SubInsertSeq ( AtIndex as Long , Sequence as IpfcParameters )

Inserts a sequence of items passed as the second argument in front of the sequence item with the specified index. If the index is out of range, the sequence is expanded to include this index.



FunctionItem ( Index as Long ) as IpfcParameter

Accesses an item by its index in the sequence. If the index is out of range, this method throws the cipXInvalidSeqIndex exception.



SubRemove ( FromIndex as Long , ToIndex as Long )

Removes items in the specified range from the sequence. The first argument specifies the index of the first item to be removed. The second argument specifies the index of the item immediately after the last in the range to be removed.



SubSet ( Index as Long , Item as IpfcParameter )

Assigns an item to the designated index in the sequence. If the index is out of range, the sequence is expanded to include this index.