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 | 指定要在其中啟動功能的內容。 |