SPFeatureCollection.Add SPFeatureCollection.Add SPFeatureCollection.Add Method

Definition

Overloads

Add(Guid) Add(Guid) Add(Guid)
Add(Guid, Boolean) Add(Guid, Boolean) Add(Guid, Boolean)
Add(Guid, Boolean, SPFeatureDefinitionScope) Add(Guid, Boolean, SPFeatureDefinitionScope) Add(Guid, Boolean, SPFeatureDefinitionScope)
Add(Guid, Int32, Boolean, SPFeatureDefinitionScope) Add(Guid, Int32, Boolean, SPFeatureDefinitionScope) Add(Guid, Int32, Boolean, SPFeatureDefinitionScope)

Add(Guid) Add(Guid) Add(Guid)

public:
 Microsoft::SharePoint::SPFeature ^ Add(Guid featureId);
public Microsoft.SharePoint.SPFeature Add (Guid featureId);
Public Function Add (featureId As Guid) As SPFeature
Parameters
featureId
Guid Guid Guid
Returns

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

public:
 Microsoft::SharePoint::SPFeature ^ Add(Guid featureId, bool force);
public Microsoft.SharePoint.SPFeature Add (Guid featureId, bool force);
Public Function Add (featureId As Guid, force As Boolean) As SPFeature
Parameters
featureId
Guid Guid Guid
Returns

Add(Guid, Boolean, SPFeatureDefinitionScope) Add(Guid, Boolean, SPFeatureDefinitionScope) Add(Guid, Boolean, SPFeatureDefinitionScope)

public:
 Microsoft::SharePoint::SPFeature ^ Add(Guid featureId, bool force, Microsoft::SharePoint::SPFeatureDefinitionScope featdefScope);
public Microsoft.SharePoint.SPFeature Add (Guid featureId, bool force, Microsoft.SharePoint.SPFeatureDefinitionScope featdefScope);
Public Function Add (featureId As Guid, force As Boolean, featdefScope As SPFeatureDefinitionScope) As SPFeature
Parameters
featureId
Guid Guid Guid
Returns

Add(Guid, Int32, Boolean, SPFeatureDefinitionScope) Add(Guid, Int32, Boolean, SPFeatureDefinitionScope) Add(Guid, Int32, Boolean, SPFeatureDefinitionScope)

public:
 Microsoft::SharePoint::SPFeature ^ Add(Guid featureId, int compatibilityLevel, bool force, Microsoft::SharePoint::SPFeatureDefinitionScope featdefScope);
public Microsoft.SharePoint.SPFeature Add (Guid featureId, int compatibilityLevel, bool force, Microsoft.SharePoint.SPFeatureDefinitionScope featdefScope);
Public Function Add (featureId As Guid, compatibilityLevel As Integer, force As Boolean, featdefScope As SPFeatureDefinitionScope) As SPFeature
Parameters
featureId
Guid Guid Guid
compatibilityLevel
Int32 Int32 Int32
Returns

Applies to