asp.net.ph

ListItemCollection.Add Method ( String )

System.Web.UI.WebControls Namespace   ListItemCollection Class


Adds the specified item to the end of the collection.

[ VB ]
Overloads Public Sub Add ( _
   ByVal item As String _
)

[ C# ]
public void Add (
   string item
);

[ C++ ]
public: void Add (
   String* item
);

[ JScript ]
public function Add (
   item : String
);

Parameters

item
String specifying the item to add.

Remarks

Use the Add method to append a ListItem to the end of the collection. This implementation of the method creates a ListItem to represent the text specified by the item parameter. This ListItem is then appended to the collection.

See Also

ListItemCollection Members   ListItemCollection.Add Overload List Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note