Compartilhar via


SPFeatureCollection.Add Method

Include Protected Members
Include Inherited Members

Activates a feature by using a Feature definition to create a new SPFeature object and then add it to the collection.

Overload List

  Name Description
Public method Add(Guid) Activates a Feature by using the Feature definition with the specified ID to create a new SPFeature object and then add it to the collection.
Public method Add(Guid, Boolean) Activates a Feature by using the Feature definition with the specified ID to create a new SPFeature object and then add it to the collection, optionally forcing activation even if there are errors.
Public method Add(Guid, Boolean, SPFeatureDefinitionScope) Activates a feature by using the feature definition with the specified ID at the specified scope to create a new SPFeature object and then add it to the collection, optionally forcing activation even if there are errors.

Top

See Also

Reference

SPFeatureCollection Class

SPFeatureCollection Members

Microsoft.SharePoint Namespace