共用方式為


SP.WebParts.LimitedWebPartManager.webParts Property

Applies to: SharePoint Foundation 2010

Gets a value that specifies collection of the Web Parts on the Web Part Page available to the current user based on the current user’s permissions.

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

Property Value

Type: SP.WebParts.WebPartDefinitionCollection

Applies To

SP.WebParts.LimitedWebPartManager Class

See Also

Reference

SP.WebParts.LimitedWebPartManager Methods

SP.WebParts.LimitedWebPartManager Properties

SP.WebParts Namespace