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
Member Function Documentation
void AddRange |
( |
IEnumerable< String > |
items | ) |
|
Adds multiple items to the end.
- Parameters:
-
void CopyTo |
( |
String[] |
array, |
|
|
int |
arrayIndex |
|
) |
| |
Copies an item to an array.
- Parameters:
-
array | String array where an item will be copied |
arrayIndex | Index 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:
-
- 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:
-
index | Index of position to insert. |
item | Item to insert |
void InsertRange |
( |
int |
index, |
|
|
IEnumerable< String > |
items |
|
) |
| |
Inserts multiple items in a specified index position.
- Parameters:
-
index | Index of position to insert. |
items | List of inserted items |
bool Remove |
( |
String |
item | ) |
|
Deletes a specific item found first.
- Parameters:
-
- Returns:
- If the section to be deleted exists, then true. Otherwise, false.
void RemoveAt |
( |
int |
index | ) |
|
Deletes the item in a specified index.
- Parameters:
-
index | Index of item to be deleted |
Property Documentation
String this[int index] [get, set] |
Obtains and sets the item in a specified index.
- Parameters:
-
- Returns:
- Item in a specified index