ConcurrentDictionary<TKey,TValue>.Count Property

Definition

ConcurrentDictionary<TKey,TValue>에 포함된 키/값 쌍의 수를 가져옵니다.Gets the number of key/value pairs contained in the ConcurrentDictionary<TKey,TValue>.

public:
 property int Count { int get(); };
public int Count { get; }
member this.Count : int
Public ReadOnly Property Count As Integer

Property Value

Int32

ConcurrentDictionary<TKey,TValue>에 포함된 키/값 쌍의 수입니다.The number of key/value pairs contained in the ConcurrentDictionary<TKey,TValue>.

Implements

Exceptions

사전에 너무 많은 요소가 포함되어 있습니다.The dictionary contains too many elements.

Remarks

이 속성에는 스냅숏 의미 체계가 있으며, 속성에 액세스할 때 현재 System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue>의 항목 수를 나타냅니다.This property has snapshot semantics and represents the number of items in the System.Collections.Concurrent.ConcurrentDictionary<TKey,TValue> at the moment when the property was accessed.

Applies to

See also