Share via


SPCompatibilityRange.NewVersion property

Gets a compatibility range object representing only the current major version.

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

Syntax

'Declaration
Public Shared ReadOnly Property NewVersion As SPCompatibilityRange
    Get
'Usage
Dim value As SPCompatibilityRange

value = SPCompatibilityRange.NewVersion
public static SPCompatibilityRange NewVersion { get; }

Property value

Type: Microsoft.SharePoint.SPCompatibilityRange
The current major version.

See also

Reference

SPCompatibilityRange class

SPCompatibilityRange members

Microsoft.SharePoint namespace