SPLimitedWebPartManager methods
SharePoint 2013
The SPLimitedWebPartManager type exposes the following members.
| Name | Description | |
|---|---|---|
|
AddWebPart | Adds a dynamic Web Part to the WebPartPage. |
|
CacheInvalidate | Invalidates cached data. |
|
CloseWebPart | Closes a dynamic Web Part in such a way that it is not rendered on the WebPartPage, but it can be reopened by calling OpenWebPart. |
|
DeleteWebPart | Deletes a dynamic Web Part from the WebPartPage. |
|
Dispose | Releases all unmanaged resources used by the SPLimitedWebPartManager object. |
|
Equals | (Inherited from Object.) |
|
ExportWebPart | Serializes the specified Web Part into an XmlWriter as a *.dwp or *.webpart file. |
|
Finalize | (Inherited from Object.) |
|
GetConsumerConnectionPoints | Gets a collection of ConsumerConnectionPoint. |
|
GetHashCode | (Inherited from Object.) |
|
GetProviderConnectionPoints | Gets a collection of ProviderConnectionPoint. |
|
GetStorageKey | Gets the unique identifier set by the Web Part Framework when a Web Part is added to a Web Part Zone. |
|
GetType | (Inherited from Object.) |
|
GetZoneID | Gets the Web Part's Web Part Zone. |
|
ImportWebPart | Imports an XML description file (*.dwp or *.webpart) that contains state and property data for a Web Part, and applies the data to the Web Part. |
|
MemberwiseClone | (Inherited from Object.) |
|
MoveWebPart | Moves a Web Part from one Web Part Zone to another, or can be used to change the relative ordering of a Web Part within a Zone. |
|
OpenWebPart | Opens a dynamic Web Part that was previously closed by CloseWebPart so it renders on the WebPartPage. |
|
ResetAllPersonalizationState | Delete personalization information for all WebParts in the collection, including type 3 "included for me" WebParts. If the collection contains personalized WebPart information (Storage.AllUsers == Storage) then delete personalization on the WebPart for the current user, otherwise delete it for all users. |
|
ResetPersonalizationState | Reset personalization state for a particular dynamic Web Part on the WebPartPage. |
|
SaveChanges | Saves the current state of the specified Web Part. |
|
SPConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint) | Connects two compatible Web Part connection points. |
|
SPConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer) | Connects two Web Part connection points using a connection transformer. |
|
SPDisconnectWebParts | Disconnect two connected Web Parts. |
|
ToString | (Inherited from Object.) |