com.onlineobject.objectnet Namespace

EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)>..::..Enqueue Method

Adds the specified element and associated priority to the EmbeddedPriorityQueue<(Of <(<'TElement, TPriority>)>)>.

Namespace:  com.onlineobject.objectnet.server.Utils
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public void Enqueue(

	TElement element,

	TPriority priority

)

Parameters

element
Type: TElement
The element to add.
priority
Type: TPriority
The priority with which to associate the new element.