PopupListItemCollection Class Reference

Collection for ListItems of PopupList. More...

List of all members.

Public Member Functions

 PopupListItemCollection ()
 Constructor.
 PopupListItemCollection (IEnumerable< string > items)
 Constructor.
void AddRange (IEnumerable< String > items)
 Adds multiple items to the end.
void InsertRange (int index, IEnumerable< String > items)
 Inserts multiple items in a specified index position.
int IndexOf (String item)
 Obtains the index of a specified item.
void Insert (int index, String item)
 Inserts the item in a specified index position.
void RemoveAt (int index)
 Deletes the item in a specified index.
IEnumerator< String > GetEnumerator ()
 Returns the enumerator that repetitively handles the collection.
void Add (String item)
 Item.
void Clear ()
 Deletes all items.
bool Contains (String item)
 Deletes all items.
void CopyTo (String[] array, int arrayIndex)
 Copies an item to an array.
bool Remove (String item)
 Deletes a specific item found first.

Properties

String this [int index] [get, set]
 Obtains and sets the item in a specified index.
int Count [get]
 Obtains the number of items.
bool IsReadOnly [get]
 Obtains whether to be read-only.

Detailed Description

Collection for ListItems of PopupList.


Constructor & Destructor Documentation

PopupListItemCollection ( IEnumerable< string >  items)

Constructor.

Parameters:
itemsInitial value

Member Function Documentation

void Add ( String  item)

Item.

Parameters:
itemItem
void AddRange ( IEnumerable< String >  items)

Adds multiple items to the end.

Parameters:
itemsAdded item list
void CopyTo ( String[]  array,
int  arrayIndex 
)

Copies an item to an array.

Parameters:
arrayString array where an item will be copied
arrayIndexIndex of an array that is the start position for copying
IEnumerator<String> GetEnumerator ( )

Returns the enumerator that repetitively handles the collection.

Returns:
IEnumerator object that can be used to repetitively handle a collection
int IndexOf ( String  item)

Obtains the index of a specified item.

Parameters:
itemText to be searched
Returns:
If the text to search exists, the index of that text. Otherwise, -1.
void Insert ( int  index,
String  item 
)

Inserts the item in a specified index position.

Parameters:
indexIndex of position to insert.
itemItem to insert
void InsertRange ( int  index,
IEnumerable< String >  items 
)

Inserts multiple items in a specified index position.

Parameters:
indexIndex of position to insert.
itemsList of inserted items
bool Remove ( String  item)

Deletes a specific item found first.

Parameters:
itemItem to be deleted
Returns:
If the section to be deleted exists, then true. Otherwise, false.
void RemoveAt ( int  index)

Deletes the item in a specified index.

Parameters:
indexIndex of item to be deleted

Property Documentation

String this[int index] [get, set]

Obtains and sets the item in a specified index.

Parameters:
indexIndex of item
Returns:
Item in a specified index