ImmutableQueue<T>.Dequeue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈