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.


  Name Description
Public property HasPersonalizedParts Gets the Boolean value for HasPersonalizedParts.
Public property Scope Gets the current personalization scope of the WebPartPage.
Public property ServerRelativeUrl Gets the server-relative URL of the WebPartPage.
Public property SPWebPartConnections Gets a collection SPWebPartConnection.
Public property Web Gets the web that this Web Part Page is stored in.
Public property WebParts Gets the collection of all dynamic Web Parts on the WebPartPage.



  Name Description
Public method AddWebPart Adds a dynamic Web Part to the WebPartPage.
Public method CacheInvalidate Invalidates cached data.
Public method 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.
Public method DeleteWebPart Deletes a dynamic Web Part from the WebPartPage.
Public method Dispose Releases all unmanaged resources used by the SPLimitedWebPartManager object.
Public method Equals (Inherited from Object.)
Public method ExportWebPart Serializes the specified Web Part into an XmlWriter as a *.dwp or *.webpart file.
Protected method Finalize (Inherited from Object.)
Public method GetConsumerConnectionPoints Gets a collection of ConsumerConnectionPoint.
Public method GetHashCode (Inherited from Object.)
Public method GetProviderConnectionPoints Gets a collection of ProviderConnectionPoint.
Public method GetStorageKey Gets the unique identifier set by the Web Part Framework when a Web Part is added to a Web Part Zone.
Public method GetType (Inherited from Object.)
Public method GetZoneID Gets the Web Part's Web Part Zone.
Public method 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.
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.
Public method OpenWebPart Opens a dynamic Web Part that was previously closed by CloseWebPart so it renders on the WebPartPage.
Public method ResetAllPersonalizationState
Public method ResetPersonalizationState Reset personalization state for a particular dynamic Web Part on the WebPartPage.
Public method SaveChanges Saves the current state of the specified Web Part.
Public method SPConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint) Connects two compatible Web Part connection points.
Public method SPConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer) Connects two Web Part connection points using a connection transformer.
Public method SPDisconnectWebParts Disconnect two connected Web Parts.
Public method ToString (Inherited from Object.)


See Also


SPLimitedWebPartManager Class

Microsoft.SharePoint.WebPartPages Namespace