EventDescriptorCollection.Remove(EventDescriptor) Metódus

Definíció

Eltávolítja a megadottt EventDescriptor a gyűjteményből.

public:
 void Remove(System::ComponentModel::EventDescriptor ^ value);
public void Remove(System.ComponentModel.EventDescriptor? value);
public void Remove(System.ComponentModel.EventDescriptor value);
member this.Remove : System.ComponentModel.EventDescriptor -> unit
Public Sub Remove (value As EventDescriptor)

Paraméterek

value
EventDescriptor

A EventDescriptor gyűjteményből eltávolítandó.

Kivételek

A gyűjtemény írásvédett.

Megjegyzések

Note

Az HostProtectionAttribute osztályra alkalmazott attribútum a következő Resources tulajdonságértéket tartalmazza: Synchronization. Ez HostProtectionAttribute nem érinti az asztali alkalmazásokat (amelyek általában egy ikonra duplán kattintva, egy parancs beírásával vagy egy URL-cím beírásával indulnak el a böngészőben). További információ: HostProtectionAttribute osztály vagy SQL Server Programozási és gazdagépvédelmi attribútumok.

A következőre érvényes: