다음을 통해 공유


Stack.Contains Method

Determines whether an element is in the Stack.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public virtual bool Contains (
         Objectobj
)

Parameters

  • obj
    The object to locate in the Stack. This value can be null.

Return Value

true if obj is found in the Stack; otherwise, false.

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

Stack Class
Stack Members
System.Collections Namespace