共用方式為


SPFile.UIVersion property

取得檔案的版本號碼。

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

Syntax

'宣告
Public ReadOnly Property UIVersion As Integer
    Get
'用途
Dim instance As SPFile
Dim value As Integer

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

Property value

Type: System.Int32
32 位元的整數,表示版本號碼。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace