EventDescriptorCollection.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

屬性值

集合中包含的元素數目。

實作

備註

注意

HostProtectionAttribute套用至這個類別的屬性具有下列Resources屬性值:SynchronizationHostProtectionAttribute 不會影響桌面應用程式 (這些應用程式的啟動方式一般都是按兩下圖示、輸入命令或在瀏覽器輸入 URL)。 如需詳細資訊,請參閱 類別HostProtectionAttributeSQL Server 程式設計和主機保護屬性

適用於