SPFeatureCollection methods

Include protected members
Include inherited members

The SPFeatureCollection type exposes the following members.

Methods

  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.
Public method Add(Guid, Int32, Boolean, SPFeatureDefinitionScope) Adds a Feature to the Collection.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Remove(Guid) Removes the Feature with the specified ID from the collection.
Public method Remove(Guid, Boolean) Removes the Feature with the specified GUID from the collection and optionally ignores errors.
Public method ToString (Inherited from Object.)

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method ICollection.CopyTo Copies the elements of the collection to an Array, starting at a specified Array index.
Explicit interface implemetationPrivate method IEnumerable<SPFeature>.GetEnumerator Returns an enumerator that iterates through the collection.
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection.

Top

See also

Reference

SPFeatureCollection class

Microsoft.SharePoint namespace