Compartilhar via


SPFeature Members

Include Protected Members
Include Inherited Members

Represents the state of a feature at its corresponding scope.

The SPFeature type exposes the following members.

Properties

  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 Version Gets the current version of the Feature.

Top

Methods

  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.

Top

See Also

Reference

SPFeature Class

Microsoft.SharePoint Namespace