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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property IsCurrentVersion As Boolean
Get
'Usage
Dim instance As SPFileVersion
Dim value As Boolean
value = instance.IsCurrentVersion
[ClientCallableAttribute]
public bool IsCurrentVersion { get; }
Property Value
Type: System.Boolean
true if the file version is the current version; otherwise, false.