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)

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