Share via


SPListItemVersion.IsCurrentVersion Property

Gets a value that indicates whether the item version is the current version of the list item.

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

Syntax

'Declaration
Public ReadOnly Property IsCurrentVersion As Boolean
    Get
'Usage
Dim instance As SPListItemVersion
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if this is the current version; otherwise, false.

See Also

Reference

SPListItemVersion Class

SPListItemVersion Members

Microsoft.SharePoint Namespace

IsCurrentVersion