NetQueue(T) Methods

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image

The NetQueue<(Of <(<'T>)>)> type exposes the following members.

Methods

  NameDescription
Public methodClear
Removes all objects from the queue
Public methodContains
Determines whether an item is in the queue
Public methodEnqueue(IEnumerable<(Of <<'(T>)>>))
Adds an item last/tail of the queue
Public methodEnqueue(T)
Adds an item last/tail of the queue
Public methodEnqueueFirst
Places an item first, at the head of the queue
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToArray
Copies the queue items to a new array
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTryDequeue
Gets an item from the head of the queue, or returns default(T) if empty
Public methodTryDrain
Gets an item from the head of the queue, or returns default(T) if empty
Public methodTryPeek
Returns default(T) if queue is empty

See Also