asp.net.ph

ListItemCollection.AddRange Method ( ListItem )

System.Web.UI.WebControls Namespace   ListItemCollection Class


Adds the items in an array of ListItem objects to the collection.

[ VB ]
Overloads Public Sub AddRange ( _
   ByVal items ( ) As ListItem _
)

[ C# ]
public void AddRange (
   ListItem [ ] items
);

[ C++ ]
public: void AddRange (
   ListItem* items [ ] 
);

[ JScript ]
public function AddRange (
   items : ListItem [ ] 
);

Parameters

items
An array of ListItem objects to add to the collection.

Remarks

Use the AddRange method to add the items in the array of ListItem objects specified by the items parameter. This allows you to add multiple ListItem objects to the collection in a single step.

See Also

ListItemCollection Members   Add   AddAt   Insert   Remove   RemoveAt   Clear Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

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

You can help support asp.net.ph