ClassSystem.Collections.Stack (standard version) System.Collections.Generic.Stack (generic version) SyntaxDim result As Boolean = stackVariable.Contains(obj)
DescriptionThe Contains method indicates whether a given object is somewhere on the stack (true) or not (False). Usage at a Glance
Version DifferencesVisual Basic 2005 adds support for generics to stacks, as discussed in Chapter 10. See AlsoStack Class |