Share via


Queue.Contains Method

Determines whether an element is in the Queue.

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

Syntax

public virtual bool Contains (
         Object obj
)

Parameters

  • obj
    The Object to locate in the Queue. This value can be null.

Return Value

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

Version Information

Available in the .NET Micro Framework version 4.1 and 4.2.

See Also

Reference

Queue Class
Queue Members
System.Collections Namespace