共用方式為


SPFile.SourceUIVersion property

NOTE: This API is now obsolete.

取得檔案中的父代文件的版本號碼。

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

Syntax

'宣告
<ObsoleteAttribute("This member is obsolete.", False)> _
Public ReadOnly Property SourceUIVersion As Integer
    Get
'用途
Dim instance As SPFile
Dim value As Integer

value = instance.SourceUIVersion
[ObsoleteAttribute("This member is obsolete.", false)]
public int SourceUIVersion { get; }

Property value

Type: System.Int32
32 位元的整數,表示版本號碼,則為-1,如果文件並沒有父代。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace