SPFeatureDefinitionCollection.Add SPFeatureDefinitionCollection.Add SPFeatureDefinitionCollection.Add Method

Definition

Overloads

Add(String, Guid) Add(String, Guid) Add(String, Guid)
Add(String, Guid, Boolean) Add(String, Guid, Boolean) Add(String, Guid, Boolean)
Add(String, Int32, Guid, Boolean) Add(String, Int32, Guid, Boolean) Add(String, Int32, Guid, Boolean)

Add(String, Guid) Add(String, Guid) Add(String, Guid)

public:
 Microsoft::SharePoint::Administration::SPFeatureDefinition ^ Add(System::String ^ relativePathToFeatureManifest, Guid solutionId);
public Microsoft.SharePoint.Administration.SPFeatureDefinition Add (string relativePathToFeatureManifest, Guid solutionId);
Public Function Add (relativePathToFeatureManifest As String, solutionId As Guid) As SPFeatureDefinition
Parameters
relativePathToFeatureManifest
String String String
solutionId
Guid Guid Guid
Returns

Add(String, Guid, Boolean) Add(String, Guid, Boolean) Add(String, Guid, Boolean)

public:
 Microsoft::SharePoint::Administration::SPFeatureDefinition ^ Add(System::String ^ relativePathToFeatureManifest, Guid solutionId, bool force);
public Microsoft.SharePoint.Administration.SPFeatureDefinition Add (string relativePathToFeatureManifest, Guid solutionId, bool force);
Public Function Add (relativePathToFeatureManifest As String, solutionId As Guid, force As Boolean) As SPFeatureDefinition
Parameters
relativePathToFeatureManifest
String String String
solutionId
Guid Guid Guid
Returns

Add(String, Int32, Guid, Boolean) Add(String, Int32, Guid, Boolean) Add(String, Int32, Guid, Boolean)

public:
 Microsoft::SharePoint::Administration::SPFeatureDefinition ^ Add(System::String ^ relativePathToFeatureManifest, int compatibilityLevel, Guid solutionId, bool force);
public Microsoft.SharePoint.Administration.SPFeatureDefinition Add (string relativePathToFeatureManifest, int compatibilityLevel, Guid solutionId, bool force);
Public Function Add (relativePathToFeatureManifest As String, compatibilityLevel As Integer, solutionId As Guid, force As Boolean) As SPFeatureDefinition
Parameters
relativePathToFeatureManifest
String String String
compatibilityLevel
Int32 Int32 Int32
solutionId
Guid Guid Guid
Returns

Applies to