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

属性值

Int32

集合中包含的元素数。

实现

注解

备注

HostProtectionAttribute应用于此类的属性具有以下Resources属性值: Synchronization HostProtectionAttribute 不影响桌面应用程序(通常通过双击图标、键入命令或在浏览器中输入 URL 来启动这些应用程序)。 有关详细信息,请参阅HostProtectionAttribute类或SQL Server编程和主机保护属性

适用于