list class : LastChild getter
Description
Gets the last element of the list.
Syntax
listInstance.LastChild
Arguments
None
Return value
Class | Description |
someClass | Element to be got. |
Sample code
1: | list{string} stringList = new list{string}(); |
2: | stringList.Add("a"); |
3: | stringList.Add("b"); |
4: | string resultString = stringList.LastChild; // The result (resultString) is "b". |
Notes
This getter is a member introduced from the Rice ver 1.0.1.1.