PriorityQueue TValue  TryAdd Method NetworkComms.Net Help
Try adding an item to the priority queue.

Namespace: NetworkCommsDotNet.Tools
Assembly: NetworkCommsDotNet (in NetworkCommsDotNet.dll) Version: 3.0.0.0 (3.0.0.0)
Syntax

public bool TryAdd(
	KeyValuePair<QueueItemPriority, TValue> item
)

Parameters

item
Type: OnlineSystem.Collections.Generic KeyValuePair QueueItemPriority, TValue 
Key is priority, lower number is lower priority, and value is TValue

Return Value

Type: OnlineBoolean
True if an item was successfully added to the queue
See Also