Compartir a través de


ISharePointProjectItemDeploymentContext.Feature Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the primary feature associated with the project item.

Namespace:  Microsoft.VisualStudio.SharePoint.Deployment
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
ReadOnly Property Feature As ISharePointProjectFeature
ISharePointProjectFeature Feature { get; }

Property Value

Type: Microsoft.VisualStudio.SharePoint.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.

.NET Framework Security

See Also

Reference

ISharePointProjectItemDeploymentContext Interface

Microsoft.VisualStudio.SharePoint.Deployment Namespace