ConcurrentQueue<T>.ToArray Methode
Definition
Kopiert die in der ConcurrentQueue<T> gespeicherten Elemente in ein neues Array.Copies the elements stored in the ConcurrentQueue<T> to a new array.
public:
virtual cli::array <T> ^ ToArray();
public T[] ToArray ();
abstract member ToArray : unit -> 'T[]
override this.ToArray : unit -> 'T[]
Public Function ToArray () As T()
Gibt zurück
- T[]
Ein neues Array mit einer Momentaufnahme von Elementen, die aus dem ConcurrentQueue<T> kopiert werden.A new array containing a snapshot of elements copied from the ConcurrentQueue<T>.