WebPartManagerInternals::SetIsShared Method
.NET Framework (current version)
Sets the IsShared property of a WebPart control or the IsShared property of a WebPartConnection object.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | SetIsShared(WebPart^, Boolean) | |
![]() | SetIsShared(WebPartConnection^, Boolean) | Sets the IsShared property of a WebPartConnection object. |
The SetIsShared method calls a method in a base class to set a property that indicates whether a particular instance of a control is shared. In the Web Parts control set, a shared control means a control that is visible to all users of a page. This is in contrast to a per-user control, which is visible only to the specific user who added the control to the page.
Note |
|---|
For more on personalization and shared versus per-user controls, see Web Parts Personalization Overview. |
Show:

