Consumer Collection<T>.Try Add(T) Method
Attempts to add an object to the IProducerConsumerCollection<T>.
public: bool TryAdd(T item);
public bool TryAdd (T item);
abstract member TryAdd : 'T -> bool
Public Function TryAdd (item As T) As Boolean
The object to add to the IProducerConsumerCollection<T>.
true if the object was added successfully; otherwise,
item was invalid for this collection.