Editare

Partajați prin


ImmutableQueue<T>.Dequeue Method

Definition

Overloads

Dequeue()

Removes the element at the beginning of the immutable queue, and returns the new queue.

Dequeue(T)

Removes the item at the beginning of the immutable queue, and returns the new queue.

Dequeue()

Source:
ImmutableQueue_1.cs
Source:
ImmutableQueue_1.cs
Source:
ImmutableQueue_1.cs
Source:
ImmutableQueue_1.cs

Removes the element at the beginning of the immutable queue, and returns the new queue.

public:
 System::Collections::Immutable::ImmutableQueue<T> ^ Dequeue();
public System.Collections.Immutable.ImmutableQueue<T> Dequeue ();
member this.Dequeue : unit -> System.Collections.Immutable.ImmutableQueue<'T>
Public Function Dequeue () As ImmutableQueue(Of T)

Returns

The new immutable queue; never null.

Exceptions

The queue is empty.

Applies to

Dequeue(T)

Source:
ImmutableQueue_1.cs
Source:
ImmutableQueue_1.cs
Source:
ImmutableQueue_1.cs
Source:
ImmutableQueue_1.cs

Removes the item at the beginning of the immutable queue, and returns the new queue.

public:
 System::Collections::Immutable::ImmutableQueue<T> ^ Dequeue([Runtime::InteropServices::Out] T % value);
public System.Collections.Immutable.ImmutableQueue<T> Dequeue (out T value);
member this.Dequeue : 'T -> System.Collections.Immutable.ImmutableQueue<'T>
Public Function Dequeue (ByRef value As T) As ImmutableQueue(Of T)

Parameters

value
T

When this method returns, contains the element from the beginning of the queue.

Returns

The new immutable queue with the beginning element removed.

Exceptions

The queue is empty.

Applies to