WebPartConnectionsEventHandler 委托

定义

表示将用于处理 WebPartsConnected 控件的 WebPartsDisconnectedWebPartManager 事件的方法。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)

参数

sender
Object

事件源。The source of the event.

e
WebPartConnectionsEventArgs

包含事件数据的 WebPartConnectionsEventArgsA WebPartConnectionsEventArgs that contains the event data.

继承
WebPartConnectionsEventHandler

注解

类为WebPartManager控件上发生的两个事件定义处理程序委托WebPartsDisconnected : WebPartsConnected事件和事件。 WebPartConnectionsEventHandlerThe WebPartConnectionsEventHandler class defines a handler delegate for two events that occur on the WebPartManager control: the WebPartsConnected event and the WebPartsDisconnected event. 处理WebPartsConnected事件的方法OnWebPartsConnected是方法。The method that handles the WebPartsConnected event is the OnWebPartsConnected method. 处理WebPartsDisconnected事件的方法OnWebPartsDisconnected是方法。The method that handles the WebPartsDisconnected event is the OnWebPartsDisconnected method. 在这两种情况下, 事件数据都包含WebPartConnectionsEventArgs在对象中。In both cases, the event data are contained in a WebPartConnectionsEventArgs object.

扩展方法

GetMethodInfo(Delegate)

获取指示指定委托表示的方法的对象。Gets an object that represents the method represented by the specified delegate.

适用于

另请参阅