IFeatureActivationDependencyCollection 接口
表示功能激活依赖项的集合。
命名空间: Microsoft.VisualStudio.SharePoint.Features
程序集: Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)
语法
声明
Public Interface IFeatureActivationDependencyCollection _
Inherits IList(Of IFeatureActivationDependency), ICollection(Of IFeatureActivationDependency), _
IEnumerable(Of IFeatureActivationDependency), IEnumerable
public interface IFeatureActivationDependencyCollection : IList<IFeatureActivationDependency>,
ICollection<IFeatureActivationDependency>, IEnumerable<IFeatureActivationDependency>, IEnumerable
IFeatureActivationDependencyCollection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
Count | 获取 ICollection<T> 中包含的元素数。 (继承自 ICollection<IFeatureActivationDependency>。) | |
IsReadOnly | 获取一个值,该值指示 ICollection<T> 是否为只读。 (继承自 ICollection<IFeatureActivationDependency>。) | |
Item | 获取或设置指定索引处的元素。 (继承自 IList<IFeatureActivationDependency>。) |
页首
方法
名称 | 说明 | |
---|---|---|
Add | 将某项添加到 ICollection<T> 中。 (继承自 ICollection<IFeatureActivationDependency>。) | |
AddCustomFeatureActivationDependency | 将新的 ICustomFeatureActivationDependency 添加到功能激活依赖项集合。 | |
AddReferencedFeatureActivationDependency | 将新的 IReferencedFeatureActivationDependency 添加到功能激活依赖项集合。 | |
Clear | 从 ICollection<T> 中移除所有项。 (继承自 ICollection<IFeatureActivationDependency>。) | |
Contains | 确定 ICollection<T> 是否包含特定值。 (继承自 ICollection<IFeatureActivationDependency>。) | |
CopyTo | 从特定的 Array 索引处开始,将 ICollection<T> 的元素复制到一个 Array 中。 (继承自 ICollection<IFeatureActivationDependency>。) | |
GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable<IFeatureActivationDependency>。) | |
GetEnumerator() | 返回一个循环访问集合的枚举数。 (继承自 IEnumerable。) | |
IndexOf | 确定 IList<T> 中特定项的索引。 (继承自 IList<IFeatureActivationDependency>。) | |
Insert | 将一个项插入指定索引处的 IList<T>。 (继承自 IList<IFeatureActivationDependency>。) | |
Remove | 从 ICollection<T> 中移除特定对象的第一个匹配项。 (继承自 ICollection<IFeatureActivationDependency>。) | |
RemoveAt | 移除指定索引处的 IList<T> 项。 (继承自 IList<IFeatureActivationDependency>。) |
页首