WebPartToolPart.SyncChanges method

Refreshes the tool parts displayed in the tool pane after the ApplyChanges method has successfully applied all property changes to the instantiated Web Part on the server.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Sub SyncChanges
'Usage
Dim instance As WebPartToolPart

instance.SyncChanges()
public override void SyncChanges()

Remarks

When the SyncChanges method is called, the viewstate for the tool part is discarded and the latest property values are reloaded. This may be useful when a Web Part has modified a property directly, for example.

See also

Reference

WebPartToolPart class

WebPartToolPart members

Microsoft.SharePoint.WebPartPages namespace