SPWebPartCollection.SaveChanges Method

NOTE: This API is now obsolete.

Obsolete. Saves changes made to a single Web Part.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Public Sub SaveChanges ( _
    storageKey As Guid _
)
'Usage
Dim instance As SPWebPartCollection
Dim storageKey As Guid

instance.SaveChanges(storageKey)
[ObsoleteAttribute("Use SPLimitedWebPartManager instead.")]
public void SaveChanges(
    Guid storageKey
)

Parameters

  • storageKey
    Type: System.Guid

    A GUID that identifies the Web Part.

Remarks

After modifications are made to a property of a Web Part, the SaveChanges method must be called to commit the changes to the database.

See Also

Reference

SPWebPartCollection Class

SPWebPartCollection Members

Microsoft.SharePoint Namespace