Add Method (ValueList)
Create and add a new ValueListItem object to the ValueList.
Note that the ValueListItem created will contain the given DisplayText
and a default DataValue with value (object)DisplayText.
Overload List
Overload | Description |
---|---|
Add(String) | Create and add a new ValueListItem object to the ValueList. Note that the ValueListItem created will contain the given DisplayText and a default DataValue with value (object)DisplayText. |
Add(String,Object) | Create and add a new ValueListItem object to the ValueList. |
Add(String,Object,Image) | Create and add a new ValueListItem object to 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