Share via


ContentByQueryToolPart.ApplyChanges method

Applies current settings to the selected Web Part.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Sub ApplyChanges
'Usage
Dim instance As ContentByQueryToolPart

instance.ApplyChanges()
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override void ApplyChanges()

Remarks

Called by the toolpane in order to apply changes to the selected Web Part.

See also

Reference

ContentByQueryToolPart class

ContentByQueryToolPart members

Microsoft.SharePoint.Publishing.WebControls namespace