ImmutableInterlocked.Push<T>(ImmutableStack<T>, T) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Exécute un push d’un nouvel élément dans la pile.
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)
Paramètres de type
- T
Type des éléments dans la pile.
Paramètres
- location
- ImmutableStack<T>
Pile à mettre à jour.
- value
- T
Valeur de push dans la pile.