Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public Sub SetForceCreateDocumentVersion
'Usage
Dim instance As SPItemEventProperties
instance.SetForceCreateDocumentVersion()
public void SetForceCreateDocumentVersion()
Remarks
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.