言語

ConcurrentBag<T> コンストラクター

定義

オーバーロード

名前 説明
ConcurrentBag<T>()

ConcurrentBag<T> クラスの新しいインスタンスを初期化します。

ConcurrentBag<T>(IEnumerable<T>)

指定したコレクションからコピーされた要素を含む ConcurrentBag<T> クラスの新しいインスタンスを初期化します。

ConcurrentBag<T>()

ソース:
ConcurrentBag.cs
ソース:
ConcurrentBag.cs
ソース:
ConcurrentBag.cs
ソース:
ConcurrentBag.cs
ソース:
ConcurrentBag.cs

ConcurrentBag<T> クラスの新しいインスタンスを初期化します。

public:
 ConcurrentBag();
public ConcurrentBag();
Public Sub New ()

こちらもご覧ください

適用対象

ConcurrentBag<T>(IEnumerable<T>)

ソース:
ConcurrentBag.cs
ソース:
ConcurrentBag.cs
ソース:
ConcurrentBag.cs
ソース:
ConcurrentBag.cs
ソース:
ConcurrentBag.cs

指定したコレクションからコピーされた要素を含む ConcurrentBag<T> クラスの新しいインスタンスを初期化します。

public:
 ConcurrentBag(System::Collections::Generic::IEnumerable<T> ^ collection);
public ConcurrentBag(System.Collections.Generic.IEnumerable<T> collection);
new System.Collections.Concurrent.ConcurrentBag<'T> : seq<'T> -> System.Collections.Concurrent.ConcurrentBag<'T>
Public Sub New (collection As IEnumerable(Of T))

パラメーター

collection
IEnumerable<T>

新しい ConcurrentBag<T>に要素がコピーされるコレクション。

例外

collection は null 参照です (Visual Basicでは Nothing)。

こちらもご覧ください

適用対象