SPFeatureDefinitionCollection members
Represents a collection of SPFeatureDefinition objects.
The SPFeatureDefinitionCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of objects in the collection. (Inherited from SPPersistedObjectCollection<T>.) | |
IsEmpty | Gets a Boolean value that indicates whether the collection contains any objects. (Inherited from SPPersistedObjectCollection<T>.) | |
Item[Guid] | Gets the Feature definition with the specified GUID from the collection. | |
Item[String] | Gets the Feature definition with the specified name from the collection. | |
Item[Guid, Int32] | ||
Item[String, Int32] | ||
Parent | Gets the parent object that declares this collection. (Inherited from SPPersistedObjectCollection<T>.) |
Top
Methods
Name | Description | |
---|---|---|
Add(T) | Adds an object to the collection. (Inherited from SPPersistedChildCollection<T>.) | |
Add(String, Guid) | Adds the Feature definition with the specified manifest path and solution ID to the collection of Feature definitions. | |
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. | |
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. | |
Ensure | Adds an object to the collection and, if the object already exists, reinitializes it with the data of the existing object. (Inherited from SPPersistedChildCollection<T>.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEnumerator | Gets an enumerator that can be used to iterate through the collection. (Inherited from SPPersistedObjectCollection<T>.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
GetValue<U>() | Retrieves an object from the collection with the specified type and the default name. (Inherited from SPPersistedObjectCollection<T>.) | |
GetValue<U>(Guid) | Retrieves an object from the collection with the specified ID and type. (Inherited from SPPersistedObjectCollection<T>.) | |
GetValue<U>(String) | Retrieves an object from the collection with the specified name and type. (Inherited from SPPersistedObjectCollection<T>.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove(Guid) | Removes the Feature definition with the specified GUID from the collection. (Overrides SPPersistedChildCollection<T>.Remove(Guid).) | |
Remove(String) | Removes the Feature definition with the specified relative manifest path from the collection. | |
Remove(Guid, Boolean) | Forces removal of the Feature definition with the specified GUID from the collection. | |
Remove(Guid, Int32) | Removes the Feature definition with the specified GUID and compatibility level from the collection. | |
Remove(String, Boolean) | Forces removal of the Feature definition with the specified relative manifest path from the collection. | |
Remove(String, Int32) | Removal of the Feature definition with the specified relative manifest path and compatibility level from the collection. | |
Remove(Guid, Int32, Boolean) | Forcely removes the Feature definition with the specified GUID and compatibility level from the collection. | |
Remove(String, Int32, Boolean) | Force removal of the Feature definition with the specified relative manifest path and compatibility level from the collection. | |
ScanForFeatures | Scans for new Features in the file system, and if new Features are present, adds them to the Feature definition collection. | |
ToString | (Inherited from Object.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator | Returns an enumerator over all items in this list. (Inherited from SPPersistedObjectCollection<T>.) |
Top