Share via


SPMobileSaveNavigation.TrySaveItem Method

Saves a comment, post, or other list item, on a SharePoint mobile web site.

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

Syntax

'Declaration
Public Overridable Function TrySaveItem As Boolean
'Usage
Dim instance As SPMobileSaveNavigation
Dim returnValue As Boolean

returnValue = instance.TrySaveItem()
public virtual bool TrySaveItem()

Return Value

Type: System.Boolean
true if the item is successfully saved; otherwise, false.

Remarks

This method is called by the Click event of the CommandControl property of the SPMobileSaveNavigation control.

See Also

Reference

SPMobileSaveNavigation Class

SPMobileSaveNavigation Members

Microsoft.SharePoint.MobileControls Namespace