共用方式為


SP.WebParts.LimitedWebPartManager.scope Property

Applies to: SharePoint Foundation 2010

In this article
Property Value
Applies To
Remarks

Gets a value that specifies the current personalization scope of the Web Part Page.

var value = SP.WebParts.LimitedWebPartManager.get_scope();

Property Value

Type: SP.WebParts.PersonalizationScope

Applies To

SP.WebParts.LimitedWebPartManager Class

Remarks

Its value must be User if personalized data is loaded for the Web Parts on the Web Part Page, or Shared if common data for all users is loaded. Represents a file in a site that can be a Web Part Page, an item in a document library or a file in a folder.

See Also

Reference

SP.WebParts.LimitedWebPartManager Methods

SP.WebParts.LimitedWebPartManager Properties

SP.WebParts Namespace