SPFeatureCollection Members
Include Protected Members
Include Inherited Members
Represents a collection of SPFeature objects.
The SPFeatureCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of Features in the collection. | |
Item | Gets the Feature with the specified GUID from the collection. |
Top
Methods
Name | Description | |
---|---|---|
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. | |
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. | |
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. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove(Guid) | Removes the Feature with the specified ID from the collection. | |
Remove(Guid, Boolean) | Removes the Feature with the specified GUID from the collection and optionally ignores errors. | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICollection.CopyTo | Copies the elements of the collection to an Array, starting at a specified Array index. | |
IEnumerable<SPFeature>.GetEnumerator | Returns an enumerator that iterates through the collection. | |
IEnumerable.GetEnumerator | Returns an enumerator that iterates through the collection. | |
ICollection.IsSynchronized | Gets a value indicating whether access to the collection is synchronized (thread safe). | |
ICollection.SyncRoot | Gets an object that can be used to synchronize access to the collection. |
Top