SaveButton.SaveItem method

Saves a list item and checks it in and uploads it when the list is a document library.

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

Syntax

'Declaration
Protected Overridable Function SaveItem As Boolean
'Usage
Dim returnValue As Boolean

returnValue = Me.SaveItem()
protected virtual bool SaveItem()

Return value

Type: System.Boolean
true if the operation is successful; otherwise, false. (The default implementation always returns true. See the Remarks section.)

Remarks

The default implementation just calls the static version of SaveItem(SPContext, Boolean, String).

See also

Reference

SaveButton class

SaveButton members

SaveItem overload

Microsoft.SharePoint.WebControls namespace