Microsoft.VisualStudio.SharePoint.Packages Namespace

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

The Microsoft.VisualStudio.SharePoint.Packages namespace contains types that you can use to access the package definition in a SharePoint project.

The main type in this namespace is the IPackage interface. An IPackage object represents a package definition in a SharePoint project, including the package manifest. To get an IPackage object, first use the ISharePointProject.Package property to get an ISharePointProjectPackage object. Then, use the ISharePointProjectPackage.Model property to get an IPackage object.

Interfaces

  Interface Description
Public interface IApplicationResource Represents an application resource file.
Public interface IApplicationResourceCollection Represents a collection of application resource files.
Public interface IAssembly Represents an assembly.
Public interface IAssemblyCollection Represents a collection of assemblies in the package.
Public interface IBindingRedirect Represents an assembly binding redirection.
Public interface IBindingRedirectCollection Represents a collection of package assembly binding redirections.
Public interface IClassResource Represents a class resource file in the package.
Public interface IClassResourceCollection Represents a collection of package class resource files.
Public interface ICodeAccessSecurityAssembly Represents an assembly in a code access security (CAS) policy.
Public interface ICodeAccessSecurityAssemblyCollection Represents a collection of assemblies associated with a code access security (CAS) policy.
Public interface ICustomAssembly Represents an assembly included within a package.
Public interface ICustomSolutionActivationDependency Represents a custom solution activation dependency in the package.
Public interface IDwpFile Represents a Web part (.dwp) file in the package.
Public interface IDwpFileCollection Represents a collection of Web part (.dwp) files in the package.
Public interface IFeatureManifestReference Represents a feature manifest file in the package.
Public interface IFeatureManifestReferenceCollection Represents a collection of feature manifest files in the package.
Public interface IPackage Represents the definition of a package within the SharePoint project system.
Public interface IPackageManifest Represents a SharePoint package manifest.
Public interface IPermissionElement Represents a code access security (CAS) permission.
Public interface IPermissionElementCollection Represents a collection of code access security (CAS) policy permissions.
Public interface IPolicyItem Represents a code access security (CAS) policy item.
Public interface IPolicyItemCollection Represents a collection of code access security (CAS) policy items.
Public interface IProjectOutputAssembly Represents a project output assembly included in a package.
Public interface IResource Represents a resource file in the package.
Public interface IResourceCollection Represents a collection of resource files in the package.
Public interface IRootFile Represents a root file in the package.
Public interface IRootFileCollection Represents a collection of root files in a package.
Public interface ISafeControl Represents a safe control in the package.
Public interface ISafeControlCollection Represents a collection of safe controls.
Public interface ISiteDefinitionManifest Represents a site definition manifest file.
Public interface ISiteDefinitionManifestCollection Represents a collection of site definition manifests.
Public interface ISolutionActivationDependency Represents an activation dependency of a SharePoint package.
Public interface ISolutionActivationDependencyCollection Represents a collection of packages upon which the activation of another package depends.
Public interface ITemplateFile Represents a template file in the package.
Public interface ITemplateFileCollection Represents a collection of template files in the package.
Public interface IWebTempFile Represents a Web template file in the package.
Public interface IWebTempFileCollection Represents a collection of Web template files in the package.

Enumerations

  Enumeration Description
Public enumeration ApplicationResourceType Specifies where an application resource file is deployed on the server.
Public enumeration DeploymentServerType Specifies the type of server to host the package.
Public enumeration DeploymentTarget Specifies where an assembly is deployed on the SharePoint server.
Public enumeration ResetWebServerModeOnUpgrade Specifies how the web server is restarted after an upgrade.