TryPop Method
See Also 
SourceCode.Collections.Concurrent Namespace > ConcurrentStack<T> Class : TryPop Method



item

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function TryPop( _
   ByRef item As T _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As ConcurrentStack(Of T)
Dim item As T
Dim value As Boolean
 
value = instance.TryPop(item)
C#  
public bool TryPop( 
   out T item
)
C++/CLI  
public:
bool TryPop( 
   [Out] T^ item
) 

Parameters

item

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also