IUpgradeActionCollection 接口

表示功能升级操作的集合。

命名空间:  Microsoft.VisualStudio.SharePoint.Features
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

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

IUpgradeActionCollection 类型公开以下成员。

属性

  名称 说明
公共属性 Count 获取 ICollection<T> 中包含的元素数。 (继承自 ICollection<IUpgradeAction>。)
公共属性 IsReadOnly 获取一个值,该值指示 ICollection<T> 是否为只读。 (继承自 ICollection<IUpgradeAction>。)
公共属性 Item 获取或设置指定索引处的元素。 (继承自 IList<IUpgradeAction>。)

页首

方法

  名称 说明
公共方法 Add 将某项添加到 ICollection<T> 中。 (继承自 ICollection<IUpgradeAction>。)
公共方法 AddAddContentTypeFieldUpgradeAction 将新的 IAddContentTypeFieldUpgradeAction 操作添加到功能升级操作集合。
公共方法 AddApplyElementManifestsUpgradeAction 将新的 IApplyElementManifestsUpgradeAction 升级操作添加到功能升级操作集合。
公共方法 AddCustomUpgradeAction 将新的 ICustomUpgradeAction 升级操作添加到功能升级操作集合。
公共方法 AddMapFileUpgradeAction 将新的 IMapFileUpgradeAction 升级操作添加到功能升级操作集合。
公共方法 AddVersionRange 将新的 IVersionRange 升级操作添加到功能升级操作集合。
公共方法 Clear ICollection<T> 中移除所有项。 (继承自 ICollection<IUpgradeAction>。)
公共方法 Contains 确定 ICollection<T> 是否包含特定值。 (继承自 ICollection<IUpgradeAction>。)
公共方法 CopyTo 从特定的 Array 索引处开始,将 ICollection<T> 的元素复制到一个 Array 中。 (继承自 ICollection<IUpgradeAction>。)
公共方法 GetEnumerator() 返回一个循环访问集合的枚举数。 (继承自 IEnumerable<IUpgradeAction>。)
公共方法 GetEnumerator() 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。)
公共方法 IndexOf 确定 IList<T> 中特定项的索引。 (继承自 IList<IUpgradeAction>。)
公共方法 Insert 将一个项插入指定索引处的 IList<T>。 (继承自 IList<IUpgradeAction>。)
公共方法 Remove ICollection<T> 中移除特定对象的第一个匹配项。 (继承自 ICollection<IUpgradeAction>。)
公共方法 RemoveAt 移除指定索引处的 IList<T> 项。 (继承自 IList<IUpgradeAction>。)

页首

备注

有关升级功能的更多信息,请参见 Upgrading Features(升级功能)。

请参见

参考

Microsoft.VisualStudio.SharePoint.Features 命名空间