BlockingCollection<T>.Count プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
BlockingCollection<T>に含まれる項目の数を取得します。
public:
property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer
プロパティ値
BlockingCollection<T>に含まれる項目の数。
実装
例外
注釈
Count プロパティへのアクセス中に BlockingCollection のいずれかのメソッドが実行されている場合、戻り値は概数です。 Count は、BlockingCollection 内の項目の実際の数より大きいか小さい数値を反映できます。