ClassSystem.Collections.Queue (standard version) System.Collections.Generic.Queue (generic version) SyntaxDim result( ) As Object = queueVariable.ToArray( ) DescriptionThe ToArray method creates an array of type Object, copies the elements of the queue in order into the array, and then returns the array. The array need not be created in advance. Usage at a GlanceThe beginning item in the queue becomes array element zero. Version DifferencesVisual Basic 2005 adds support for generics to queues, as discussed in Chapter 10. See AlsoQueue Class, Queue.CopyTo Method |