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.
Adds a new feature.
Namespace: Microsoft.VisualStudio.SharePoint
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
Syntax
'Declaration
Function Add ( _
skipAutoPackage As Boolean _
) As ISharePointProjectFeature
ISharePointProjectFeature Add(
bool skipAutoPackage
)
Parameters
skipAutoPackage
Type: BooleanWhen true, do not add the feature to the project package.
Return Value
Type: Microsoft.VisualStudio.SharePoint.ISharePointProjectFeature
An object representing a feature.
Exceptions
| Exception | Condition |
|---|---|
| CheckoutException | Occurs when the project or package file cannot be checked out |
.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.