Common Application Framework

ValueList.Insert Method (String, Int32)

Create and insert a new ValueListItem object into the ValueList. Note that the ValueListItem created will contain the given DisplayText and a default DataValue with value (object)DislayText.

public abstract ValueListItem Insert(
   string DisplayText,
   int index
);

Parameters

DisplayText
ValueListItem display text.
index
Index position of new ValueListItem in the ValueList

See Also

ValueList Class | Aveva.ApplicationFramework.Presentation Namespace | ValueList.Insert Overload List