共用方式為


Microsoft.VisualStudio.SharePoint.Features 命名空間

Microsoft.VisualStudio.SharePoint.Features 命名空間包含可用來存取 SharePoint 專案中功能定義的型別。

這個命名空間中的主要型別是 IFeature 介面。IFeature 物件代表 SharePoint 專案中特定功能的定義,包括功能資訊清單。若要存取 IFeature 物件,請先使用 ISharePointProject.Features 屬性來取得 ISharePointProjectFeature 物件。接著使用 ISharePointProjectFeature.Model 屬性取得 IFeature 物件。

介面

  介面 說明
公用介面 IAddContentTypeFieldUpgradeAction 代表將新欄位加入現有內容類型的升級動作。
公用介面 IApplyElementManifestsUpgradeAction 代表提供新功能元素的升級動作。
公用介面 ICustomFeatureActivationDependency 代表啟動另一項功能所依據的現有功能。
公用介面 ICustomUpgradeAction 代表執行功能事件接收器的升級動作。
公用介面 ICustomUpgradeActionParameter 代表自訂升級動作參數。
公用介面 ICustomUpgradeActionParameterCollection 代表自訂升級動作參數的集合。
公用介面 IDiscreteUpgradeAction 代表功能升級期間執行的動作。
公用介面 IDiscreteUpgradeActionCollection 代表功能升級動作的集合。
公用介面 IElement 代表與功能關聯的檔案。
公用介面 IElementCollection 代表功能元素的集合。
公用介面 IFeature 代表 SharePoint 專案系統內功能的定義。
公用介面 IFeatureActivationDependency 代表啟動另一項功能所依存的功能。
公用介面 IFeatureActivationDependencyCollection 代表功能啟動相依性的集合。
公用介面 IFeatureManifest 代表 SharePoint 功能的資訊清單。
公用介面 IMapFileUpgradeAction 代表將非自訂檔案重新對應至 SharePoint Web 前端 (WFE) 伺服器檔案系統上不同安裝路徑的升級動作。
公用介面 IProperty 代表功能屬性的預設值。
公用介面 IPropertyCollection 代表功能屬性的預設值集合。
公用介面 IReferencedFeatureActivationDependency 代表另一項功能所依存的 Visual Studio 方案內功能。
公用介面 IUpgradeAction 代表功能升級期間執行的動作。
公用介面 IUpgradeActionCollection 代表功能升級動作的集合。
公用介面 IVersionRange 代表特定版本功能升級期間執行動作的集合。

列舉型別

  列舉型別 說明
公用列舉型別 DiscreteUpgradeActionType 指定升級功能時執行動作的類型。
公用列舉型別 FeatureElementType 指定部署功能時 SharePoint 處理項目的方式。
公用列舉型別 FeatureScope 指定要在其中啟動功能的內容。