SPFeatureDefinitionCollection Members
Include Protected Members
Include Inherited 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. | |
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. | |
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(String, Boolean) | Forces removal of the Feature definition with the specified relative manifest path 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 | (Inherited from SPPersistedObjectCollection<T>.) |
Top