EventDescriptorCollection.Insert(Int32, EventDescriptor) Metódus

Definíció

Beszúr egy EventDescriptor gyűjteményt egy adott indexbe.

public:
 void Insert(int index, System::ComponentModel::EventDescriptor ^ value);
public void Insert(int index, System.ComponentModel.EventDescriptor? value);
public void Insert(int index, System.ComponentModel.EventDescriptor value);
member this.Insert : int * System.ComponentModel.EventDescriptor -> unit
Public Sub Insert (index As Integer, value As EventDescriptor)

Paraméterek

index
Int32

A gyűjtemény azon indexe, amelybe be szeretné szúrni a paramétert value .

value
EventDescriptor

A gyűjteménybe beszúrandó an EventDescriptor .

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: