SPFeatureCollection.Add SPFeatureCollection.Add SPFeatureCollection.Add SPFeatureCollection.Add Method

Definition

Overloads

Add(Guid) Add(Guid) Add(Guid) Add(Guid)
Add(Guid, Boolean) Add(Guid, Boolean) Add(Guid, Boolean) Add(Guid, Boolean)
Add(Guid, Boolean, SPFeatureDefinitionScope) 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, Int32, Boolean, SPFeatureDefinitionScope)

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

public:
 Microsoft::SharePoint::SPFeature ^ Add(Guid featureId);
public Microsoft.SharePoint.SPFeature Add (Guid featureId);
member this.Add : Guid -> Microsoft.SharePoint.SPFeature
Public Function Add (featureId As Guid) As SPFeature

Parameters

featureId
Guid Guid Guid Guid

Returns

Add(Guid, Boolean) 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);
member this.Add : Guid * bool -> Microsoft.SharePoint.SPFeature
Public Function Add (featureId As Guid, force As Boolean) As SPFeature

Parameters

featureId
Guid Guid Guid Guid

Returns

Add(Guid, Boolean, SPFeatureDefinitionScope) 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);
member this.Add : Guid * bool * Microsoft.SharePoint.SPFeatureDefinitionScope -> Microsoft.SharePoint.SPFeature
Public Function Add (featureId As Guid, force As Boolean, featdefScope As SPFeatureDefinitionScope) As SPFeature

Parameters

featureId
Guid Guid Guid Guid

Returns

Add(Guid, Int32, Boolean, SPFeatureDefinitionScope) 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);
member this.Add : Guid * int * bool * Microsoft.SharePoint.SPFeatureDefinitionScope -> Microsoft.SharePoint.SPFeature
Public Function Add (featureId As Guid, compatibilityLevel As Integer, force As Boolean, featdefScope As SPFeatureDefinitionScope) As SPFeature

Parameters

featureId
Guid Guid Guid Guid
compatibilityLevel
Int32 Int32 Int32 Int32

Returns

Applies to