Compartir a través de


IPackage Interface

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents the definition of a package within the SharePoint project system.

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

Syntax

'Declaration
Public Interface IPackage _
    Inherits IPackageManifest, IObservableModelElement
public interface IPackage : IPackageManifest, 
    IObservableModelElement

The IPackage type exposes the following members.

Properties

  Name Description
Public property ActivationDependencies Gets the packages on which the activation of the current package depends. (Inherited from IPackageManifest.)
Public property ApplicationResourceFiles Gets the application resource files associated with the package. (Inherited from IPackageManifest.)
Public property Assemblies Gets the assemblies associated with the package. (Inherited from IPackageManifest.)
Public property DeploymentServerType Gets or sets the type of server that hosts the package. (Inherited from IPackageManifest.)
Public property Description Gets or sets the package description. (Inherited from IPackageManifest.)
Public property DwpFiles Gets the Web part (.dwp) files associated with the package. (Inherited from IPackageManifest.)
Public property FeatureManifests Gets the feature manifests associated with the package. (Inherited from IPackageManifest.)
Public property Features The features to deploy with the package.
Public property IsDesignerEnabled Gets whether the designer for the package is enabled.
Public property Name Gets the name of the SharePoint package file (WSP).
Public property PolicyItems Gets the code access security (CAS) policies for the package. (Inherited from IPackageManifest.)
Public property ProjectItems Gets the SharePoint project items to deploy with the package.
Public property ResetWebServer Gets or sets whether IIS is restarted after installing the package. (Inherited from IPackageManifest.)
Public property ResetWebServerModeOnUpgrade Gets or sets how IIS is restarted after upgrading the package. (Inherited from IPackageManifest.)
Public property Resources Gets the resource files associated with the package. (Inherited from IPackageManifest.)
Public property RootFiles Gets the root files associated with the package. (Inherited from IPackageManifest.)
Public property SharePointProductVersion Gets or sets the version of SharePoint that the solution is designed for. (Inherited from IPackageManifest.)
Public property SiteDefinitionManifests Gets the site definition manifest files associated with the package. (Inherited from IPackageManifest.)
Public property SolutionId Gets or sets the package ID. (Inherited from IPackageManifest.)
Public property TemplateFiles Gets the template files associated with the package. (Inherited from IPackageManifest.)
Public property Title Gets or sets the package title. (Inherited from IPackageManifest.)

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.Packages Namespace