Stack<T>.TryPop(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.
public:
bool TryPop([Runtime::InteropServices::Out] T % result);
public bool TryPop(out T result);
member this.TryPop : 'T -> bool
Public Function TryPop (ByRef result As T) As Boolean
Paramètres
- result
- T
S’il est présent, l’objet en haut de l’objet Stack<T>; sinon, la valeur par défaut de T.
Retours
true s’il existe un objet en haut de l’objet Stack<T>; false s’il Stack<T> est vide.