Partager via


Parts Collection

Contains the set of Web Parts on a Web Part Page.

Public Methods

The following table shows the methods of the Parts collection and a brief description of each.

Name Description
Register Reserved for internal use only.
Unregister Reserved for internal use only.

Public Properties

The following table shows the properties of the Parts collection and a brief description of each.

Name Description
Count Returns the number of Web Parts on the current Web Part Page.
Item Returns an object from a Parts collection.

Remarks

The Parts collection allows Web Parts to be retrieved by index. The Web Part infrastructure automatically registers all Web Parts on a Web Part Page.

Requirements

Platforms: Microsoft Windows Server 2003

Part Object | Parts Property