Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IQueue.Remove Method

Retrieves and removes the head of this queue.

[Visual Basic]
Public Sub Remove()
object Remove();

Return Value

The head of this queue


This method differs from Poll only in that it throws an exception if this queue is empty.


Exception Type Condition
NoElementsException if this queue is empty

See Also

IQueue Interface | Spring.Collections Namespace