Microsoft.VisualStudio.SharePoint.Features Namespace

 

The Microsoft.VisualStudio.SharePoint.Features namespace contains types that you can use to access the definition of a Feature in a SharePoint project.

InterfaceDescription
System_CAPS_pubinterfaceIAddContentTypeFieldUpgradeAction

Represents an upgrade action that adds a new field to an existing content type.

System_CAPS_pubinterfaceIApplyElementManifestsUpgradeAction

Represents an upgrade action that provisions new feature elements.

System_CAPS_pubinterfaceICustomFeatureActivationDependency

Represents an existing feature on which activation of another feature depends.

System_CAPS_pubinterfaceICustomUpgradeAction

Represents an upgrade action that runs a feature event receiver.

System_CAPS_pubinterfaceICustomUpgradeActionParameter

Represents a custom upgrade action parameter.

System_CAPS_pubinterfaceICustomUpgradeActionParameterCollection

Represents a collection of custom upgrade action parameters.

System_CAPS_pubinterfaceIDiscreteUpgradeAction

Represents an action that is run during the upgrade of a feature.

System_CAPS_pubinterfaceIDiscreteUpgradeActionCollection

Represents a collection of feature upgrade actions.

System_CAPS_pubinterfaceIElement

Represents a file associated with a feature.

System_CAPS_pubinterfaceIElementCollection

Represents a collection of feature elements.

System_CAPS_pubinterfaceIFeature

Represents the definition of a feature within the SharePoint project system.

System_CAPS_pubinterfaceIFeatureActivationDependency

Represents a feature on which the activation of another feature depends.

System_CAPS_pubinterfaceIFeatureActivationDependencyCollection

Represents a collection of feature activation dependencies.

System_CAPS_pubinterfaceIFeatureManifest

Represents the manifest of a SharePoint feature.

System_CAPS_pubinterfaceIMapFileUpgradeAction

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.

System_CAPS_pubinterfaceIProperty

Represents the default value for a feature property.

System_CAPS_pubinterfaceIPropertyCollection

Represents a collection of default values for feature properties.

System_CAPS_pubinterfaceIReferencedFeatureActivationDependency

Represents a feature in the Visual Studio solution on which another feature depends.

System_CAPS_pubinterfaceIUpgradeAction

Represents an action that is run during the upgrade of a feature.

System_CAPS_pubinterfaceIUpgradeActionCollection

Represents a collection of feature upgrade actions.

System_CAPS_pubinterfaceIVersionRange

Represents a collection of actions that is run during the upgrade of a specific version of a feature.

EnumerationDescription
System_CAPS_pubenumDiscreteUpgradeActionType

Specifies the type of action to execute when upgrading a feature.

System_CAPS_pubenumFeatureElementType

Specifies how the element is treated by SharePoint when the feature is deployed.

System_CAPS_pubenumFeatureScope

Specifies the context in which a feature is activated.

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.

Return to top
Show: