WebPartManagerInternals.SetIsShared Method (WebPartConnection, Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
)

Parameters

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

A WebPartConnection between two WebPart controls.

isShared
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
Show: