WebPartConnectionsEventHandler Delegát

Definice

Představuje metodu, která zpracuje WebPartsConnected WebPartsDisconnected události a WebPartManager ovládacího prvku.Represents the method that will handle the WebPartsConnected and WebPartsDisconnected events of the WebPartManager control.

public delegate void WebPartConnectionsEventHandler(System::Object ^ sender, WebPartConnectionsEventArgs ^ e);
public delegate void WebPartConnectionsEventHandler(object sender, WebPartConnectionsEventArgs e);
type WebPartConnectionsEventHandler = delegate of obj * WebPartConnectionsEventArgs -> unit
Public Delegate Sub WebPartConnectionsEventHandler(sender As Object, e As WebPartConnectionsEventArgs)

Parametry

sender
Object

Zdroj událostiThe source of the event.

e
WebPartConnectionsEventArgs

Obsahující WebPartConnectionsEventArgs data události.A WebPartConnectionsEventArgs that contains the event data.

Poznámky

WebPartConnectionsEventHandlerTřída definuje delegáta obslužné rutiny pro dvě události, ke kterým dojde v WebPartManager ovládacím prvku: WebPartsConnected událost a WebPartsDisconnected událost.The WebPartConnectionsEventHandler class defines a handler delegate for two events that occur on the WebPartManager control: the WebPartsConnected event and the WebPartsDisconnected event. Metoda, která zpracovává WebPartsConnected událost, je OnWebPartsConnected metoda.The method that handles the WebPartsConnected event is the OnWebPartsConnected method. Metoda, která zpracovává WebPartsDisconnected událost, je OnWebPartsDisconnected metoda.The method that handles the WebPartsDisconnected event is the OnWebPartsDisconnected method. V obou případech jsou data události obsažena v WebPartConnectionsEventArgs objektu.In both cases, the event data are contained in a WebPartConnectionsEventArgs object.

Metody rozšíření

GetMethodInfo(Delegate)

Získává objekt, který představuje metodu reprezentovanou zadaným delegátem.Gets an object that represents the method represented by the specified delegate.

Platí pro

Viz také