Click or drag to resize
OrderedSetTViewGetLast Method
Returns the last item in the view: the item that would appear last if the view was enumerated.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public T GetLast()

Return Value

Type: T
The last item in the view.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe view has no items in it.
Remarks
GetLast() takes time O(log N), where N is the number of items in the set.
See Also