Compartilhar via


SPWebPartManager.CreatePersonalization Method

Returns a personalization object to contain a user's personalization data for the current webpage.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Protected Overrides Function CreatePersonalization As WebPartPersonalization
'Usage
Dim returnValue As WebPartPersonalization

returnValue = Me.CreatePersonalization()
protected override WebPartPersonalization CreatePersonalization()

Return Value

Type: System.Web.UI.WebControls.WebParts.WebPartPersonalization
A personalization object that contains a user’s personalization data.

Remarks

This method returns a WebPartPersonalization object to contain and manage the user's personalization settings for the current page.

See Also

Reference

SPWebPartManager Class

SPWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace