SPFeatureDefinition.CompatibilityLevel property

Gets the integer that represents the compatibility level for a definition of a feature.

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

Syntax

'Declaration
Public ReadOnly Property CompatibilityLevel As Integer
    Get
'Usage
Dim instance As SPFeatureDefinition
Dim value As Integer

value = instance.CompatibilityLevel
public int CompatibilityLevel { get; }

Property value

Type: System.Int32
An integer that represents the compatibility level

Remarks

An example of an integer representation of a feature definition compatibility level is 12|14|15.

See also

Reference

SPFeatureDefinition class

SPFeatureDefinition members

Microsoft.SharePoint.Administration namespace