SPFile.UIVersion property

Gets the version number of the file.

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

public int UIVersion { get; }

Property value

Type: System.Int32
A 32-bit integer that indicates the version number.
Show: