Insert(String,Int32) Method
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)DisplayText.
Syntax
public abstract ValueListItem Insert( string displayText, int index )
public: abstract ValueListItem^ Insert( String^ displayText, int index )
Parameters
- displayText
- ValueListItem display text.
- index
- Index position of new ValueListItem in the ValueList
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also