Share via


SPFileVersion.IsCurrentVersion property

Gets a Boolean value that indicates whether the file version is the current version of the file.

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

Syntax

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

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

Property value

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

See also

Reference

SPFileVersion class

SPFileVersion members

Microsoft.SharePoint namespace