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.
Envoie un nouvel élément sur 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 d’éléments dans la pile.
Paramètres
- location
- ImmutableStack<T>
Pile à mettre à jour.
- value
- T
Valeur à envoyer (push) sur la pile.