ImmutableStack<T>.Enumerator Struct
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.
Enumerates the contents of an immutable stack without allocating any memory.
NuGet package: System.Collections.Immutable (about immutable collections and how to install)
public: value class ImmutableStack<T>::Enumerator
public struct ImmutableStack<T>.Enumerator
type ImmutableStack<'T>.Enumerator = struct
Public Structure ImmutableStack(Of T).Enumerator
Type Parameters
- T
- Inheritance
Properties
Current |
Gets the element at the current position of the enumerator. |
Methods
MoveNext() |
Advances the enumerator to the next element of the immutable stack. |
Applies to
Thread Safety
This type is thread safe.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for