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 (
         Objectobj
)

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.

See Also

Reference

Queue Class
Queue Members
System.Collections Namespace