共用方式為


Dictionary<TKey,TValue>.Capacity 屬性

定義

取得內部數據結構可以保留而不重設大小的元素總數。

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

屬性值

適用於