Partager via


Queue.Peek Method

Returns the object at the beginning of the Queue without removing it.

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

Syntax

[MethodImplAttribute(InternalCall)]
public virtual Object Peek ()

Return Value

The object at the beginning of the Queue.

Version Information

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

See Also

Reference

Queue Class
Queue Members
System.Collections Namespace