PublishButton.SaveItem Method
Saves a list item and sets its status to approved.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Overrides Function SaveItem As Boolean
'Usage
Dim returnValue As Boolean
returnValue = Me.SaveItem()
protected override bool SaveItem()
Return Value
Type: System.Boolean
true if the operation is successful; otherwise, false. (This override always returns true. See the Remarks section.)
Remarks
This override sets the status to approved and then calls SaveItem(SPContext, Boolean, String) which always returns true.