共用方式為


SPListItemVersion.IsCurrentVersion property

取得值,這個值,指出項目版本是否為目前版本的清單項目。

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

Syntax

'宣告
Public ReadOnly Property IsCurrentVersion As Boolean
    Get
'用途
Dim instance As SPListItemVersion
Dim value As Boolean

value = instance.IsCurrentVersion
public bool IsCurrentVersion { get; }

Property value

Type: System.Boolean
true如果這是目前的版本。否則, false。

請參閱

參照

SPListItemVersion class

SPListItemVersion members

Microsoft.SharePoint namespace

IsCurrentVersion