ValueList.Insert
Syntax:
Parameters:
<Index> (required)
Index of the position at which the item is to be inserted.
<Value> (optional)
Value to be inserted.
<Representation> (optional)
A string expression containing a representation of the value being added.
Default value: Empty string.
<CheckMark> (optional)
Defines whether to create a new value with check mark set or not.
Default value: False.
<Picture> (optional)
Visual value representation.
Default value: Empty picture.
Returned value:
New list of values item.
Description:
Availability:
Example:
PriceTypesList.Add("All extra charges",, True); SelectionOfPriceTypes = Catalogs.PriceTypes.Select(); While SelectionOfPriceTypes.Next() Do PriceTypesList.Insert(0, SelectionOfPriceTypes.Ref, SelectionOfPriceTypes.Markup, False); EndDo; |