Compartir a través de


Microsoft.SharePoint.WebPartPages.Communication Namespace

Provides a set of interfaces and their supporting classes and members that can be implemented in the class of a custom Web Part to support creating connections with other Web Parts. A Web Part can implement one or more of these interfaces to allow it to receive or pass information to other connected Web Parts on a Web Part Page. A Microsoft.SharePoint.WebPartPages.Communication namespace interface is a set of events and event handlers for providing or consuming data from list, row, and cell data contained within a Web Part.

Classes

  Class Description
CellConsumerInitEventArgs Obsolete. Identifies the initial argument structure for design time creation. These arguments are passed to the connected Web Part as part of the CellConsumerInit event to tell the connected Web Part what the name and display name of the cell is.
CellProviderInitEventArgs Obsolete. Holds the data structure that is initialized when an ICellProvider Web Part creates a connection and fires a CellConsumerInit event to an ICellConsumer interface. Cannot be inherited.
CellReadyEventArgs Obsolete. Provides the current cell value from a Web Part that implements the ICellProvider interface when the CellReady event occurs.
FilterConsumerInitEventArgs Obsolete. Provides data for the FilterConsumerInit event. When a Web Part that implements the IFilterConsumer interface fires the FilterConsumerInit event, an instance of this class is passed to a Web Part that implements the IFilterProvider or IRowProvider interface that calls the FilterConsumerInit event handler to handle the event.
InitEventArgs Obsolete. Represents the object type returned by the WebPart.GetInitEventArgs method.
InterfaceTypes Obsolete. Provides a set of constant fields for specifying the interface type of a Web Part connection interface.
ListProviderInitEventArgs Obsolete. Provides the field names and optional field display names for the list provided by a Web Part that implements the IListProviderinterface when the ListProviderInit event occurs.
ListReadyEventArgs Obsolete. Provides the list of data to the ListReadyevent of the IListProviderinterface.
ParameterInProperty Obsolete. Provides descriptive information about a parameter in a parameter list to the ParametersInConsumerInit event of the IParametersInConsumer interface
ParameterOutProperty Obsolete. Provides descriptive information about a parameter in a parameter list to the ParametersOutProviderInit event of the IParametersOutProvider interface.
ParametersInConsumerInitEventArgs Obsolete. Provides an array of parameter property values to the ParametersInConsumerInit initialization event of the IParametersInConsumer interface.
ParametersInReadyEventArgs Obsolete. Provides an array of parameter values to the ParametersInReadyevent of the IParametersInProvider interface.
ParametersOutProviderInitEventArgs Obsolete. Provides an array of parameter property values to the ParametersOutProviderInit initialization event of the IParametersOutProvider interface.
ParametersOutReadyEventArgs Obsolete. Provides an array of parameter values to the ParametersOutReady event of the IParametersOutProvider interface.
PartialListReadyEventArgs Obsolete. Provides the list of the first page of data to the PartialListReady event of the IListProvider interface.
RowCellTransformControl Supports the user interface for specifying the column from a Web Part that implements the IRowProvider interface that will be used to connect to a Web Part that implements the ICellConsumer interface.
RowFilterTransformControl Supports the user interface for specifying the column from a Web Part that implements the IRowProvider interface that will be used to filter a connected Web Part that implements the IFilterConsumer interface.
RowProviderInitEventArgs Obsolete. Provides the field names and optional field display names for the row provided by a Web Part that implements the [T][:Microsoft.SharePoint.WebPartPages.Communication.IRowProvider] interface when the RowProviderInit event occurs.
RowReadyEventArgs Obsolete. Provides the current row value from a Web Part that implements the IRowProvider interface when the RowReady event occurs.
SelectInterfaceGroups Represents the implementation for the user interface for selecting a target interface when the target Web Part has multiple compatible interfaces. This type supports Microsoft Windows SharePoint Services and is not intended to be used directly from your code.
SetFilterEventArgs Obsolete. Provides a filter expression for a list to the SetFilterEvent of the IFilterProvider interface.

Interfaces

  Interface Description
ICellConsumer Obsolete.
ICellProvider Obsolete. Enables a Web Part to communicate with a Web Part that implements the ICellConsumer interface to work with a single value item.
IFilterConsumer Obsolete. Used to consume a filter expression from a Web Part that has implemented an IFilterProvider interface.
IFilterProvider Obsolete. Used to communicate with a Web Part that implements IFilterConsumer interface to provide filter information to the consumer.
IListConsumer Obsolete. Defines methods that a Web Part can implement so that it can consume an entire list (rowset) of data from another Web Part that implements the IListProvider interface.
IListProvider Obsolete. Defines events that a Web Part can implement so that it can provide an entire list (rowset) of data to another Web Part that implements the IListConsumer interface.
IParametersInConsumer Obsolete. Allows a consumer Web Part to communicate its parameter list to other Web Parts.
IParametersInProvider Obsolete. Allows a provider Web Part to communicate its parameter list to other consumer Web Parts.
IParametersOutConsumer Obsolete. Implements the IParametersOutProvider interface to communicate its parameter list to a consumer Web Part implementing this interface. These interfaces also allow passing through other information such as a selected row.
IParametersOutProvider Obsolete. Allows a provider Web Part to communicate its parameter list to other Web Parts.
IRowConsumer Obsolete. Enables a Web Part to communicate with a Web Part that implements the IRowProvider interface (or that supports a suitable transformer) to work with a row of data.
IRowProvider Obsolete. Enables a Web Part to send a row of data to a Web Part that implements the IRowConsumer, ICellConsumer, IFilterConsumer, or IParametersInConsumer interface.

Delegates

  Delegate Description
CellConsumerInitEventHandler Obsolete. Represents the method that will handle the CellConsumerInit event fired by a Web Part that implements the ICellConsumer interface.
CellProviderInitEventHandler Obsolete. Represents the method that will handle the CellProviderInit event fired by a Web Part that implements the ICellProvider interface.
CellReadyEventHandler Obsolete. Represents the method that will handle the CellReady event fired by a Web Part that implements the ICellProvider interface.
ClearFilterEventHandler Obsolete. Represents the method that will handle the ClearFilter event fired by a Web Part that implements the IFilterProvider interface.
FilterConsumerInitEventHandler Obsolete. Represents the method that will handle the FilterConsumerInit event fired by a Web Part that implements the IFilterConsumer interface.
ListProviderInitEventHandler Obsolete. Represents the method that will handle the ListProviderInit event fired by a Microsoft.SharePoint.WebPartPages.WebPart class that implements the IListProviderinterface.
ListReadyEventHandler Obsolete. Represents the method that will handle the ListReady event fired by a Microsoft.SharePoint.WebPartPages.WebPart class that implements the IListProvider interface.
NoFilterEventHandler Obsolete. Represents the method that will handle the NoFilterevent fired by a Web Part that implements the IFilterProvider interface. Upon receiving a NoFilter event, a Web Part that implements the IFilterConsumer interface should reuse the existing filter for the list.
NoParametersInEventHandler Obsolete.
NoParametersOutEventHandler Obsolete.
ParametersInConsumerInitEventHandler Obsolete. Represents the method that will handle the ParametersInConsumerInit event fired by a Microsoft.SharePoint.WebPartPages.WebPart class that implements the IParametersInConsumer interface.
ParametersInReadyEventHandler Obsolete. Represents the method that will handle the ParametersInReady event fired by a Microsoft.SharePoint.WebPartPages.WebPart class that implements the IParametersInProvider interface.
ParametersOutProviderInitEventHandler Obsolete. Represents the method that will handle the ParametersOutProviderInit event fired by a Microsoft.SharePoint.WebPartPages.WebPart class that implements the IParametersOutProviderinterface.
ParametersOutReadyEventHandler Obsolete. Represents the method that will handle the ParametersOutReady event fired by a WebPart class that implements the IParametersOutProvider interface.
PartialListReadyEventHandler Obsolete. Represents the method that will handle the PartialListReady event of a Microsoft.SharePoint.WebPartPages.WebPart class that implements the IListProviderinterface.
RowProviderInitEventHandler Obsolete. Represents the method that handles the IRowProvider.RowProviderInitevent fired by a Web Part that implements the IRowProvider interface.
RowReadyEventHandler Obsolete. Represents the method that will handle the RowReady event fired by a Web Part that implements the IRowProvider interface.
SetFilterEventHandler Obsolete.

Enumerations

  Enumeration Description
ConnectionRunAt Obsolete. Specifies whether the implementation of a Web Part connection interface can run on the server or by rendering client script.