SPLimitedWebPartManager Members
Include Protected Members
Include Inherited Members
Provides a limited set of Web Part operations that can be performed in object model scenarios when there is no HttpContext and no instantiated Page object.
The SPLimitedWebPartManager type exposes the following members.
Properties
Name | Description | |
---|---|---|
HasPersonalizedParts | Gets the Boolean value for HasPersonalizedParts. | |
Scope | Gets the current personalization scope of the WebPartPage. | |
ServerRelativeUrl | Gets the server-relative URL of the WebPartPage. | |
SPWebPartConnections | Gets a collection SPWebPartConnection. | |
Web | Gets the web that this Web Part Page is stored in. | |
WebParts | Gets the collection of all dynamic Web Parts on the WebPartPage. |
Top
Methods
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 | ||
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.) |
Top