SPFeatureDefinition.Version property

Gets the current version of this Feature.

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

Syntax

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

value = instance.Version
public Version Version { get; }

Property value

Type: System.Version
A Version object that represents the Feature version.

Remarks

If there is no version within the Feature, the value that is returned is 0.0.0.0.

See also

Reference

SPFeatureDefinition class

SPFeatureDefinition members

Microsoft.SharePoint.Administration namespace

Version()