ImmutableInterlocked.Push<T>(ImmutableStack<T>, T) 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.
Pushes a new element onto the stack.
public:
generic <typename T>
static void Push(System::Collections::Immutable::ImmutableStack<T> ^ % location, T value);
public static void Push<T> (ref System.Collections.Immutable.ImmutableStack<T> location, T value);
static member Push : ImmutableStack * 'T -> unit
Public Shared Sub Push(Of T) (ByRef location As ImmutableStack(Of T), value As T)
Type Parameters
- T
The type of items in the stack.
Parameters
- location
- ImmutableStack<T>
The stack to update.
- value
- T
The value to push on the stack.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.