ICustomFeatureActivationDependency 接口

表示激活另一个功能时所依赖的现有功能。

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

语法

声明
Public Interface ICustomFeatureActivationDependency _
    Inherits IFeatureActivationDependency, IObservableModelElement
public interface ICustomFeatureActivationDependency : IFeatureActivationDependency, 
    IObservableModelElement

ICustomFeatureActivationDependency 类型公开以下成员。

属性

  名称 说明
公共属性 Description 获取或设置激活依赖项的说明。 (继承自 IFeatureActivationDependency。)
公共属性 FeatureDescription 获取或设置自定义激活依赖项的说明。
公共属性 FeatureId 获取或设置由自定义激活依赖项表示的功能的 SharePoint ID。
公共属性 FeatureTitle 获取或设置自定义激活依赖项的名称。
公共属性 MinimumVersion 获取或设置为正常运行功能而必须安装的依赖功能的最低版本。 (继承自 IFeatureActivationDependency。)
公共属性 SolutionId 获取或设置功能依赖的解决方案的 SharePoint ID。
公共属性 SolutionName 获取或设置 SharePoint 解决方案文件 (WSP) 的文件名。
公共属性 SolutionTitle 获取或设置解决方案的标题。
公共属性 SolutionUrl 获取或设置用户可用于获取解决方案的 URL。

页首

事件

  名称 说明
公共事件 PropertyChanged 在 DSL 模型元素更改后发生。 (继承自 IObservableModelElement。)
公共事件 PropertyChanging 在更改 DSL 模型元素时发生。 (继承自 IObservableModelElement。)

页首

请参见

参考

Microsoft.VisualStudio.SharePoint.Features 命名空间