Share via


SPListItem.UpdateOverwriteVersion method

Updates the item by creating a new minor version of the item.

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

Syntax

'Declaration
Public Sub UpdateOverwriteVersion
'Usage
Dim instance As SPListItem

instance.UpdateOverwriteVersion()
public void UpdateOverwriteVersion()

Remarks

This method updates the current list item by creating a new minor version when major/minor versions are enabled. To update without creating a new version, use SystemUpdate().

See also

Reference

SPListItem class

SPListItem members

Microsoft.SharePoint namespace