SetIsShared Method (WebPartConnection, Boolean)

WebPartManagerInternals.SetIsShared Method (WebPartConnection, Boolean)


Sets the IsShared property of a WebPartConnection object.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public void SetIsShared(
	WebPartConnection connection,
	bool isShared


Type: System.Web.UI.WebControls.WebParts.WebPartConnection

A WebPartConnection between two WebPart controls.

Type: System.Boolean

A Boolean value that indicates whether connection is shared.

The SetIsShared method does not actually cause the control referenced by the connection parameter to be shared; it only sets the property that indicates whether connection is currently shared.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft