SPFeature members

Represents the state of a feature at its corresponding scope.

The SPFeature type exposes the following members.


  Name Description
Public property Definition Gets the definition of the Feature.
Public property DefinitionId Gets the GUID that identifies the Feature definition.
Public property FeatureDefinitionScope Gets the scope of the Feature definition.
Public property Parent Gets the parent object that represents the scope of the Feature.
Public property Properties Gets the collection of properties for the Feature.
Public property TimeActivated Gets the time the Feature was activated.
Public property Version Gets the current version of the Feature.



  Name Description
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 ToString (Inherited from Object.)
Public method Upgrade Upgrades this Feature to the currently installed version of the Feature definition, optionally ignoring an exception if one is thrown.


See also


SPFeature class

Microsoft.SharePoint namespace