WebPartConnectionsEventArgs Costruttori

Definizione

Inizializza una nuova istanza della classe WebPartConnectionsEventArgs.

Overload

WebPartConnectionsEventArgs(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint)

Inizializza una nuova istanza della classe WebPartConnectionsEventArgs senza che sia necessario l'oggetto WebPartConnection.

WebPartConnectionsEventArgs(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartConnection)

Inizializza una nuova istanza della classe utilizzando l'oggetto WebPartConnection specificato.

WebPartConnectionsEventArgs(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint)

Inizializza una nuova istanza della classe WebPartConnectionsEventArgs senza che sia necessario l'oggetto WebPartConnection.

public:
 WebPartConnectionsEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ provider, System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ providerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPart ^ consumer, System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ consumerConnectionPoint);
public WebPartConnectionsEventArgs (System.Web.UI.WebControls.WebParts.WebPart provider, System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPart consumer, System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint consumerConnectionPoint);
new System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ProviderConnectionPoint * System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint -> System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs
Public Sub New (provider As WebPart, providerConnectionPoint As ProviderConnectionPoint, consumer As WebPart, consumerConnectionPoint As ConsumerConnectionPoint)

Parametri

provider
WebPart

Controllo che funge da provider.

providerConnectionPoint
ProviderConnectionPoint

Punto di connessione provider.

consumer
WebPart

Controllo che funge da consumer.

consumerConnectionPoint
ConsumerConnectionPoint

Punto di connessione consumer.

Commenti

Si tratta del costruttore senza parametri. Non richiede un WebPartConnection oggetto. Il costruttore inizializza i valori delle relative proprietà assegnando ognuno dei relativi oggetti di parametro correlati alla connessione alla proprietà corrispondente.

Si applica a

WebPartConnectionsEventArgs(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartConnection)

Inizializza una nuova istanza della classe utilizzando l'oggetto WebPartConnection specificato.

public:
 WebPartConnectionsEventArgs(System::Web::UI::WebControls::WebParts::WebPart ^ provider, System::Web::UI::WebControls::WebParts::ProviderConnectionPoint ^ providerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPart ^ consumer, System::Web::UI::WebControls::WebParts::ConsumerConnectionPoint ^ consumerConnectionPoint, System::Web::UI::WebControls::WebParts::WebPartConnection ^ connection);
public WebPartConnectionsEventArgs (System.Web.UI.WebControls.WebParts.WebPart provider, System.Web.UI.WebControls.WebParts.ProviderConnectionPoint providerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPart consumer, System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint consumerConnectionPoint, System.Web.UI.WebControls.WebParts.WebPartConnection connection);
new System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs : System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ProviderConnectionPoint * System.Web.UI.WebControls.WebParts.WebPart * System.Web.UI.WebControls.WebParts.ConsumerConnectionPoint * System.Web.UI.WebControls.WebParts.WebPartConnection -> System.Web.UI.WebControls.WebParts.WebPartConnectionsEventArgs
Public Sub New (provider As WebPart, providerConnectionPoint As ProviderConnectionPoint, consumer As WebPart, consumerConnectionPoint As ConsumerConnectionPoint, connection As WebPartConnection)

Parametri

provider
WebPart

Controllo WebPart o controllo server che funge da provider.

providerConnectionPoint
ProviderConnectionPoint

Proprietà ProviderConnectionPoint per la connessione.

consumer
WebPart

Controllo WebPart o controllo server che funge da consumer.

consumerConnectionPoint
ConsumerConnectionPoint

Proprietà ConsumerConnectionPoint per la connessione.

connection
WebPartConnection

Oggetto WebPartConnection.

Commenti

Questa versione del WebPartConnectionsEventArgs costruttore viene usata quando è disponibile un WebPartConnection oggetto.

Si applica a