共用方式為


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 命名空間