SPFeatureDefinitionCollection.Add method

Adds the specified Feature definition to the collection of Feature definitions in the farm.

Overload list

  Name Description
Public method Add(T) Adds an object to the collection. (Inherited from SPPersistedChildCollection<T>.)
Public method Add(String, Guid) Adds the Feature definition with the specified manifest path and solution ID to the collection of Feature definitions.
Public method Add(String, Guid, Boolean) Adds the Feature definition with the specified manifest path and solution ID to the collection of Feature definitions, including a Boolean parameter that specifies whether to force reinstallation of the Feature definition.
Public method Add(String, Int32, Guid, Boolean) Adds the Feature definition with the specified manifest path, compatibility level and solution ID to the collection of Feature definitions, including a Boolean parameter that specifies whether to force reinstallation of the Feature definition.

Top

See also

Reference

SPFeatureDefinitionCollection class

SPFeatureDefinitionCollection members

Microsoft.SharePoint.Administration namespace