Bagikan melalui


IFeatureManifest Interface

Represents the manifest of a SharePoint feature.

Namespace:  Microsoft.VisualStudio.SharePoint.Features
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Interface IFeatureManifest _
    Inherits IObservableModelElement
public interface IFeatureManifest : IObservableModelElement

The IFeatureManifest type exposes the following members.

Properties

  Name Description
Public property ActivateOnDefault Gets or sets whether the feature is activated during installation.
Public property ActivationDependencies Gets a list of features on which activation of the current feature depends.
Public property AlwaysForceInstall Gets or sets whether the feature should be installed by force, even if the feature is already installed.
Public property AutoActivateInCentralAdmin Gets or sets whether the feature is activated by default for administrators.
Public property Creator Gets or sets the name of the developer who created the feature.
Public property DefaultResourceFile Gets or sets the central resource file for retrieving feature resources.
Public property Description Gets or sets a description of what the feature does.
Public property Elements Gets a list of feature element definition and support files.
Public property FeatureId Gets or sets the SharePoint ID of the feature.
Public property ImageAltText Gets or sets text for an image associated with the feature.
Public property ImageUrl Gets or sets the relative URL of the image associated with the feature.
Public property IsHidden Gets or sets whether the feature is visible in the list of available features to activate.
Public property Properties Gets a list of default values for feature properties.
Public property ReceiverAssembly Gets or sets the fully-qualified name of the assembly that contains the event receiver for the feature.
Public property ReceiverClass Gets or sets the class name of the event receiver for the feature.
Public property RequireResources Gets or sets whether SharePoint checks for resources for a particular language and culture.
Public property Scope Gets or sets the context in which a feature is activated.
Public property SolutionId Gets or sets the ID of the SharePoint server where the feature will be installed. This property is used for infrastructural purposes only and should not be used.
Public property Title Gets or sets the title of the feature, up to 255 characters.
Public property UIVersion Gets or sets a string that indicates the compatible version of the site.
Public property UpgradeActions Gets a list of actions to execute when upgrading the current feature.
Public property UpgradeActionsReceiverAssembly Gets or sets the fully-qualified name of the assembly that contains the feature event receiver handling custom upgrade actions.
Public property UpgradeActionsReceiverClass Gets or sets the class name of the feature event receiver handling custom upgrade actions.
Public property Version Gets or sets a System.Version-compliant representation of the version of the feature. This value can be up to four numbers separated by decimals.

Top

Events

  Name Description
Public event PropertyChanged Occurs when a DSL model element has changed. (Inherited from IObservableModelElement.)
Public event PropertyChanging Occurs when a DSL model element is being changed. (Inherited from IObservableModelElement.)

Top

See Also

Reference

Microsoft.VisualStudio.SharePoint.Features Namespace