SPFeatureDefinition Properties
The SPFeatureDefinition type exposes the following members.
| Name | Description | |
|---|---|---|
|
ActivateOnDefault | Gets a value that specifies whether the Feature is activated upon installation by default. |
|
ActivationDependencies | Gets the collection of Features on which activation of this Feature depends. |
|
AlwaysForceInstall | Gets a value that indicates whether the force flag is set to true by default during installation. |
|
AutoActivateInCentralAdmin | Gets a value that specifies whether the Feature is activated on the central administrative Web site, site collection, or Web application upon installation. |
|
DefaultResourceFile | Gets a partial name of a file that contains localized resources used by this Feature. |
|
DisplayName | Gets the folder name for the Feature. (Overrides SPPersistedObject.DisplayName.) |
|
Farm | Gets the server farm where the object resides. (Inherited from SPPersistedObject.) |
|
Hidden | Gets a value that indicates whether the Feature is hidden within the Microsoft SharePoint Foundation user interface. |
|
Id | Gets or sets the Guid that is associated with the object. |
|
Name | Gets or sets the name that identifies a specific SPFeature object. |
|
Parent | Gets the parent in the logical hierarchy of the configuration object tree. (Inherited from SPPersistedObject.) |
|
Properties | Gets a standardized property bag object that contains per-Feature settings that are specified in the Feature definition. |
|
ReceiverAssembly | Gets the strong name of the assembly that handles events for this Feature. |
|
ReceiverClass | Gets the fully qualified, case-sensitive name of the class that handles events for this Feature. |
|
RequireResources | Gets the Boolean value that specifies whether this feature is associated with localized resources. |
|
RootDirectory | Gets the full local path to the root folder of the Feature. |
|
Scope | Gets the scope of this Feature. |
|
SolutionId | Gets the identifier of the solution used to deploy this Feature, or Empty if the Feature was added directly through a command-line operation or through the object model. |
|
Status | Gets or sets the status of the object that the class represents. (Inherited from SPPersistedObject.) |
|
TypeName | Gets the display name that describes the object type in the administrative user interface. (Inherited from SPPersistedObject.) |
|
UIVersion | Gets the version of the user interface in which this feature should be listed. |
|
UpgradedPersistedProperties | Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.) |
|
UpgradeReceiverAssembly | Gets the solution-relative path of the assembly that contains the UpgradeReceiverClass object. |
|
UpgradeReceiverClass | Gets the name of the class implementing the feature's upgrade callbacks. |
|
Version | Gets the current version of this Feature. |
|
WasCreated | Gets a Boolean value that indicates whether the object is initialized and can be found in the database. (Inherited from SPPersistedObject.) |