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.

  Interface Description
Public interface IAddContentTypeFieldUpgradeAction Represents an upgrade action that adds a new field to an existing content type.
Public interface IApplyElementManifestsUpgradeAction Represents an upgrade action that provisions new feature elements.
Public interface ICustomFeatureActivationDependency Represents an existing feature on which activation of another feature depends.
Public interface ICustomUpgradeAction Represents an upgrade action that runs a feature event receiver.
Public interface ICustomUpgradeActionParameter Represents a custom upgrade action parameter.
Public interface ICustomUpgradeActionParameterCollection Represents a collection of custom upgrade action parameters.
Public interface IDiscreteUpgradeAction Represents an action that is run during the upgrade of a feature.
Public interface IDiscreteUpgradeActionCollection Represents a collection of feature upgrade actions.
Public interface IElement Represents a file associated with a feature.
Public interface IElementCollection Represents a collection of feature elements.
Public interface IFeature Represents the definition of a feature within the SharePoint project system.
Public interface IFeatureActivationDependency Represents a feature on which the activation of another feature depends.
Public interface IFeatureActivationDependencyCollection Represents a collection of feature activation dependencies.
Public interface IFeatureManifest Represents the manifest of a SharePoint feature.
Public interface 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.
Public interface IProperty Represents the default value for a feature property.
Public interface IPropertyCollection Represents a collection of default values for feature properties.
Public interface IReferencedFeatureActivationDependency Represents a feature in the Visual Studio solution on which another feature depends.
Public interface IUpgradeAction Represents an action that is run during the upgrade of a feature.
Public interface IUpgradeActionCollection Represents a collection of feature upgrade actions.
Public interface IVersionRange Represents a collection of actions that is run during the upgrade of a specific version of a feature.

  Enumeration Description
Public enumeration DiscreteUpgradeActionType Specifies the type of action to execute when upgrading a feature.
Public enumeration FeatureElementType Specifies how the element is treated by SharePoint when the feature is deployed.
Public enumeration FeatureScope Specifies the context in which a feature is activated.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft