SPFile.UIVersion property

Gets the version number of the file.

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

Syntax

'Declaration
Public ReadOnly Property UIVersion As Integer
    Get
'Usage
Dim instance As SPFile
Dim value As Integer

value = instance.UIVersion
public int UIVersion { get; }

Property value

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

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace