ערוך

שתף באמצעות


EventDescriptorCollection.Clear Method

Definition

Removes all objects from the collection.

public:
 void Clear();
public:
 virtual void Clear();
public void Clear ();
member this.Clear : unit -> unit
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Public Sub Clear ()

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