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.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.