ICollection<T>.Count Property

Definition

取得 ICollection<T> 中的元素數目。Gets the number of elements contained in the ICollection<T>.

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

Property Value

Int32

ICollection<T> 中的元素數目。The number of elements contained in the ICollection<T>.

Applies to