Represents a collection of SPFeatureDefinition objects.
(in Microsoft.SharePoint.dll)Available in Sandboxed Solutions: No
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPFeatureDefinitionCollection : SPPersistedChildCollection<SPFeatureDefinition>
Use the FeatureDefinitions property of the SPFarm class to get the collection of Feature definitions installed in the server farm.
Use the FeatureDefinitions property of the SPSite class to get the collection of Feature definitions installed in the site collection.
To add a Feature definition to the collection, use one of the Add methods of the SPFeatureDefinitionCollection class.
Any public static
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback