Microsoft.VisualStudio.SharePoint.Features Namespace
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
The Microsoft.VisualStudio.SharePoint.Features namespace contains types that you can use to access the definition of a Feature in a SharePoint project.
The main type in this namespace is the IFeature interface. An IFeature object represents the definition of a particular Feature in a SharePoint project, including the Feature manifest. To access an IFeature object, first use the ISharePointProject.Features property to get an ISharePointProjectFeature object. Then, use the ISharePointProjectFeature.Model property to get an IFeature object.
Interfaces
Interface | Description | |
---|---|---|
IAddContentTypeFieldUpgradeAction | Represents an upgrade action that adds a new field to an existing content type. | |
IApplyElementManifestsUpgradeAction | Represents an upgrade action that provisions new feature elements. | |
ICustomFeatureActivationDependency | Represents an existing feature on which activation of another feature depends. | |
ICustomUpgradeAction | Represents an upgrade action that runs a feature event receiver. | |
ICustomUpgradeActionParameter | Represents a custom upgrade action parameter. | |
ICustomUpgradeActionParameterCollection | Represents a collection of custom upgrade action parameters. | |
IDiscreteUpgradeAction | Represents an action that is run during the upgrade of a feature. | |
IDiscreteUpgradeActionCollection | Represents a collection of feature upgrade actions. | |
IElement | Represents a file associated with a feature. | |
IElementCollection | Represents a collection of feature elements. | |
IFeature | Represents the definition of a feature within the SharePoint project system. | |
IFeatureActivationDependency | Represents a feature on which the activation of another feature depends. | |
IFeatureActivationDependencyCollection | Represents a collection of feature activation dependencies. | |
IFeatureManifest | Represents the manifest of a SharePoint feature. | |
IMapFileUpgradeAction | Represents an upgrade action that remaps an non-customized file to a different setup path on the SharePoint Web front-end (WFE) server file system. | |
IProperty | Represents the default value for a feature property. | |
IPropertyCollection | Represents a collection of default values for feature properties. | |
IReferencedFeatureActivationDependency | Represents a feature in the Visual Studio solution on which another feature depends. | |
IUpgradeAction | Represents an action that is run during the upgrade of a feature. | |
IUpgradeActionCollection | Represents a collection of feature upgrade actions. | |
IVersionRange | Represents a collection of actions that is run during the upgrade of a specific version of a feature. |
Enumerations
Enumeration | Description | |
---|---|---|
DiscreteUpgradeActionType | Specifies the type of action to execute when upgrading a feature. | |
FeatureElementType | Specifies how the element is treated by SharePoint when the feature is deployed. | |
FeatureScope | Specifies the context in which a feature is activated. |