EventDescriptorCollection.RemoveAt(Int32) 方法

定义

从集合中的指定索引处删除 EventDescriptor

public:
 void RemoveAt(int index);
public:
 virtual void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
abstract member RemoveAt : int -> unit
override this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

参数

index
Int32

要移除的 EventDescriptor 的索引。

实现

例外

该集合是只读的。

注解

备注

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

适用于