System.Collections.Concurrent.ConcurrentBag<T> Members

The members of System.Collections.Concurrent.ConcurrentBag<T> are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Collections.Concurrent.ConcurrentBag`1 class.

Documentation for this section has not yet been entered.

Public Properties

[read-only]
Countint.

Gets the number of elements contained in the System.Collections.Concurrent.ConcurrentBag`1.

[read-only]
IsEmptybool.

Gets a value that indicates whether the System.Collections.Concurrent.ConcurrentBag`1 is empty.

Public Methods

Add(T)
Documentation for this section has not yet been entered.
CopyTo(T[], int)
Documentation for this section has not yet been entered.
GetEnumerator() : IEnumerator<T>

Returns an enumerator that iterates through the System.Collections.Concurrent.ConcurrentBag`1.

ToArray() : T[]

Copies the System.Collections.Concurrent.ConcurrentBag`1 elements to a new array.

TryPeek(out T) : bool
Documentation for this section has not yet been entered.
TryTake(out T) : bool
Documentation for this section has not yet been entered.

Explicitly Implemented Interface Members

ICollection.CopyTo

Copies the elements of the ICollection to an Array, starting at a particular Array index.

IEnumerable.GetEnumerator

Returns an enumerator that iterates through the System.Collections.Concurrent.ConcurrentBag`1.

[read-only]
ICollection.IsSynchronizedbool.

Gets a value indicating whether access to the ICollection is synchronized with the SyncRoot.

[read-only]
ICollection.SyncRootobject.

Gets an object that can be used to synchronize access to the ICollection. This property is not supported.

System.Collections.Concurrent.IProducerConsumerCollection<T>.TryAddDocumentation for this section has not yet been entered.