Collection of sections.
More...
List of all members.
Public Member Functions |
|
| ListSectionCollection () |
| | Constructor.
|
| int | IndexOf (ListSection section) |
| | Obtains the index of a specified section.
|
| void | Insert (int index, ListSection section) |
| | Inserts the section in a specified index position.
|
| void | RemoveAt (int index) |
| | Deletes the section in a specified index.
|
| void | Add (ListSection section) |
| | Adds a section.
|
|
void | Clear () |
| | Deletes all sections.
|
| bool | Contains (ListSection section) |
| | Determines whether a specific section is stored.
|
| void | CopyTo (ListSection[] array, int arrayIndex) |
| | Copies a section to an array.
|
| bool | Remove (ListSection section) |
| | Deletes a specific section found first.
|
Properties |
|
int | AllItemCount [get] |
| | Obtains the total number of items registered to a section.
|
| ListSection | this [int index] [get, set] |
| | Obtains and sets the section in a specified index.
|
|
int | Count [get] |
| | Obtains the number of sections.
|
|
bool | IsReadOnly [get] |
| | Obtains whether to be read-only.
|
Events |
|
EventHandler< EventArgs > | ItemsChanged |
| | Handler called when the content has changed.
|
Detailed Description
Member Function Documentation
Adds a section.
- Parameters:
-
| section | Section to be added |
Determines whether a specific section is stored.
- Parameters:
-
| section | Section to search for |
- Returns:
- If the section to search for exists, then true; otherwise, false.
Copies a section to an array.
- Parameters:
-
| array | 1D array where a section will be copied |
| arrayIndex | Index of an array that is the start position for copying |
Obtains the index of a specified section.
- Parameters:
-
| section | Section to search for |
- Returns:
- If the section to search for exists, the index of that section. Otherwise, -1.
Inserts the section in a specified index position.
- Parameters:
-
| index | Index of position to insert. |
| section | Section to insert |
Deletes a specific section found first.
- Parameters:
-
| section | Section to be deleted |
- Returns:
- If the section to be deleted exists, then true. Otherwise, false.
| void RemoveAt |
( |
int |
index | ) |
|
Deletes the section in a specified index.
- Parameters:
-
| index | Index of section to be deleted |
Property Documentation
Obtains and sets the section in a specified index.
- Parameters:
-
| index | Index of section to be obtained |
- Returns:
- Section in a specified index