Export (0) Print
Expand All

WebPartManagerInternals.SetIsShared Method

Sets the IsShared property of a WebPart control or the IsShared property of a WebPartConnection object.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method SetIsShared(WebPart, Boolean) Sets the IsShared property of a WebPart control.
Public method SetIsShared(WebPartConnection, Boolean) Sets the IsShared property of a WebPartConnection object.
Top

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 Note

For more on personalization and shared versus per-user controls, see Web Parts Personalization Overview.

Show:
© 2014 Microsoft