共用方式為


SPFile.UIVersion Property

Gets the version number of the file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property UIVersion As Integer
    Get
'Usage
Dim instance As SPFile
Dim value As Integer

value = instance.UIVersion
[ClientCallableAttribute]
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