ISharePointProjectItemDeploymentContext.Feature Property

Definition

Gets the primary feature associated with the project item.

public Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature Feature { get; }

Property Value

ISharePointProjectFeature

An object representing a SharePoint feature.

Remarks

If the project item is present in multiple features, the feature with the most specific deployment scope is used.

If multiple features have the same deployment scope, an arbitrary feature is used.

Applies to