Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.