語言

DataGridViewSelectedCellCollection.ICollection.Count 屬性

定義

取得集合中的項目數目。

property int System::Collections::ICollection::Count { int get(); };
int System.Collections.ICollection.Count { get; }
member this.System.Collections.ICollection.Count : int
 ReadOnly Property Count As Integer Implements ICollection.Count

屬性值

集合中的元素數量。

實作

備註

此成員為明確介面成員實作。 它只能在實 DataGridViewSelectedCellCollection 例投射到 ICollection 介面時使用。

適用於

另請參閱