Export (0) Print
Expand All

SPItemEventProperties.SetForceCreateDocumentVersion method

SharePoint 2013

Sets the item event property to force-create a version with this update of a file in a document library.

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

public void SetForceCreateDocumentVersion()

This applies only to items in a document library during an ItemUpdating event. This applies only if the item is a file; no version will be created if this is set on non-document library lists.

© 2014 Microsoft