Assigns a WebPartTransformer object to be used in a connection between two server controls.
Assembly: System.Web (in System.Web.dll)
public void SetTransformer( WebPartConnection connection, WebPartTransformer transformer )
- Type: System.Web.UI.WebControls.WebParts.WebPartConnection
A WebPartConnection that creates a connection between server controls.
- Type: System.Web.UI.WebControls.WebParts.WebPartTransformer
A WebPartTransformer to be used with connection.
When a connection between two server controls requires a transformer so that the consumer control can interpret data from the provider control, the method is called to supply a specific WebPartTransformer object to the WebPartConnection object. If the connection already has a transformer assigned to it, the object referenced by the transformer parameter overrides the existing one; otherwise, the object referenced in the transformer parameter is used.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.