Compartilhar via


SPWebPartManager.SaveChanges Method

Saves changes to a single Web Part to the content database.

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

Syntax

'Declaration
Public Sub SaveChanges ( _
    storageKey As Guid _
)
'Usage
Dim instance As SPWebPartManager
Dim storageKey As Guid

instance.SaveChanges(storageKey)
public void SaveChanges(
    Guid storageKey
)

Parameters

  • storageKey
    Type: System.Guid

    The storage key for the Web Part to save.

Exceptions

Exception Condition
WebPartPageUserException

The Web Part specified by storageKey is not a member of the WebParts collection.

See Also

Reference

SPWebPartManager Class

SPWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace