ConcurrentStack<T> コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| ConcurrentStack<T>() |
ConcurrentStack<T> クラスの新しいインスタンスを初期化します。 |
| ConcurrentStack<T>(IEnumerable<T>) |
指定したコレクションからコピーされた要素を含む ConcurrentStack<T> クラスの新しいインスタンスを初期化します。 |
ConcurrentStack<T>()
ConcurrentStack<T> クラスの新しいインスタンスを初期化します。
public:
ConcurrentStack();
public ConcurrentStack();
Public Sub New ()
こちらもご覧ください
適用対象
ConcurrentStack<T>(IEnumerable<T>)
指定したコレクションからコピーされた要素を含む ConcurrentStack<T> クラスの新しいインスタンスを初期化します。
public:
ConcurrentStack(System::Collections::Generic::IEnumerable<T> ^ collection);
public ConcurrentStack(System.Collections.Generic.IEnumerable<T> collection);
new System.Collections.Concurrent.ConcurrentStack<'T> : seq<'T> -> System.Collections.Concurrent.ConcurrentStack<'T>
Public Sub New (collection As IEnumerable(Of T))
パラメーター
- collection
- IEnumerable<T>
新しい ConcurrentStack<T>に要素がコピーされるコレクション。
例外
collection引数は null です。