Share via


IUpgradeActionCollection.AddVersionRange Method

Adds a new IVersionRange upgrade action to the feature upgrade actions collection.

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

Syntax

'Declaration
Function AddVersionRange As IVersionRange
IVersionRange AddVersionRange()

Return Value

Type: Microsoft.VisualStudio.SharePoint.Features.IVersionRange
An object representing a version range.

Remarks

Specifies that the upgrade actions in the element should applied only for the specified version range.

For more information about upgrading features, see Upgrading Features.

.NET Framework Security

See Also

Reference

IUpgradeActionCollection Interface

Microsoft.VisualStudio.SharePoint.Features Namespace