SPFeatureCollection members

Represents a collection of SPFeature objects.

The SPFeatureCollection type exposes the following members.

  Name Description
Public property Count Gets the number of Features in the collection.
Public property Item Gets the Feature with the specified GUID from the collection.
Top

  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

  Name Description
Explicit interface implemetation Private method ICollection.CopyTo Copies the elements of the collection to an Array, starting at a specified Array index.
Explicit interface implemetation Private method IEnumerable<SPFeature>.GetEnumerator Returns an enumerator that iterates through the collection.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection.
Explicit interface implemetation Private property ICollection.IsSynchronized Gets a value indicating whether access to the collection is synchronized (thread safe).
Explicit interface implemetation Private property ICollection.SyncRoot Gets an object that can be used to synchronize access to the collection.
Top
Show: