共用方式為


SPFeatureDefinition.Version Property

Gets the current version of this Feature.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableForceNewKeywordAttribute> _
Public ReadOnly Property Version As Version
    Get
'Usage
Dim instance As SPFeatureDefinition
Dim value As Version

value = instance.Version
[SubsetCallableForceNewKeywordAttribute]
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()