Share via


IUpgradeActionCollection Interface

Represents a collection of feature upgrade actions.

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

Syntax

'Declaration
Public Interface IUpgradeActionCollection _
    Inherits IList(Of IUpgradeAction), ICollection(Of IUpgradeAction),  _
    IEnumerable(Of IUpgradeAction), IEnumerable
public interface IUpgradeActionCollection : IList<IUpgradeAction>, 
    ICollection<IUpgradeAction>, IEnumerable<IUpgradeAction>, IEnumerable

The IUpgradeActionCollection type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements contained in the ICollection<T>. (Inherited from ICollection<IUpgradeAction>.)
Public property IsReadOnly Gets a value indicating whether the ICollection<T> is read-only. (Inherited from ICollection<IUpgradeAction>.)
Public property Item Gets or sets the element at the specified index. (Inherited from IList<IUpgradeAction>.)

Top

Methods

  Name Description
Public method Add Adds an item to the ICollection<T>. (Inherited from ICollection<IUpgradeAction>.)
Public method AddAddContentTypeFieldUpgradeAction Adds a new IAddContentTypeFieldUpgradeAction action to the feature upgrade actions collection.
Public method AddApplyElementManifestsUpgradeAction Adds a new IApplyElementManifestsUpgradeAction upgrade action to the feature upgrade actions collection.
Public method AddCustomUpgradeAction Adds a new ICustomUpgradeAction upgrade action to the feature upgrade actions collection.
Public method AddMapFileUpgradeAction Adds a new IMapFileUpgradeAction upgrade action to the feature upgrade actions collection.
Public method AddVersionRange Adds a new IVersionRange upgrade action to the feature upgrade actions collection.
Public method Clear Removes all items from the ICollection<T>. (Inherited from ICollection<IUpgradeAction>.)
Public method Contains Determines whether the ICollection<T> contains a specific value. (Inherited from ICollection<IUpgradeAction>.)
Public method CopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index. (Inherited from ICollection<IUpgradeAction>.)
Public method GetEnumerator Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<IUpgradeAction>.)
Public method IndexOf Determines the index of a specific item in the IList<T>. (Inherited from IList<IUpgradeAction>.)
Public method Insert Inserts an item to the IList<T> at the specified index. (Inherited from IList<IUpgradeAction>.)
Public method Remove Removes the first occurrence of a specific object from the ICollection<T>. (Inherited from ICollection<IUpgradeAction>.)
Public method RemoveAt Removes the IList<T> item at the specified index. (Inherited from IList<IUpgradeAction>.)

Top

Remarks

For more information about upgrading features, see Upgrading Features.

See Also

Reference

Microsoft.VisualStudio.SharePoint.Features Namespace