Click or drag to resize
OrderedSetTRemoveLast Method
Removes the last item in the set. This is also the largest item in the set.

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

Return Value

Type: T
The item that was removed, which was the largest item in the set.
Exceptions
ExceptionCondition
InvalidOperationExceptionThe set is empty.
Remarks
RemoveLast() takes time O(log N), where N is the number of items in the set.
See Also