Rediger

Del via


EventDescriptorCollection.RemoveAt(Int32) Method

Definition

Removes the EventDescriptor at the specified index from the collection.

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)

Parameters

index
Int32

The index of the EventDescriptor to remove.

Implements

Exceptions

The collection is read-only.

Remarks

Note

The HostProtectionAttribute attribute applied to this class has the following Resources property value: Synchronization. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.

Applies to