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)
Available in Sandboxed Solutions: No

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