ClassSystem.Collections.Queue (standard version) System.Collections.Generic.Queue (generic version) SyntaxDim result As Object = queueVariable.Dequeue( ) DescriptionThe Dequeue method removes the beginning item from the queue and returns it as an Object. Usage at a GlanceDequeue generates an error if applied to an empty queue. Use the Count property to check for items in the queue. Version DifferencesVisual Basic 2005 adds support for generics to queues, as discussed in Chapter 10. See AlsoQueue Class, Queue.Peek Method |