Microsoft.VisualStudio.SharePoint.Packages Namespace

 

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

InterfaceDescription
System_CAPS_pubinterfaceIApplicationResource

Represents an application resource file.

System_CAPS_pubinterfaceIApplicationResourceCollection

Represents a collection of application resource files.

System_CAPS_pubinterfaceIAssembly

Represents an assembly.

System_CAPS_pubinterfaceIAssemblyCollection

Represents a collection of assemblies in the package.

System_CAPS_pubinterfaceIBindingRedirect

Represents an assembly binding redirection.

System_CAPS_pubinterfaceIBindingRedirectCollection

Represents a collection of package assembly binding redirections.

System_CAPS_pubinterfaceIClassResource

Represents a class resource file in the package.

System_CAPS_pubinterfaceIClassResourceCollection

Represents a collection of package class resource files.

System_CAPS_pubinterfaceICodeAccessSecurityAssembly

Represents an assembly in a code access security (CAS) policy.

System_CAPS_pubinterfaceICodeAccessSecurityAssemblyCollection

Represents a collection of assemblies associated with a code access security (CAS) policy.

System_CAPS_pubinterfaceICustomAssembly

Represents an assembly included within a package.

System_CAPS_pubinterfaceICustomSolutionActivationDependency

Represents a custom solution activation dependency in the package.

System_CAPS_pubinterfaceIDwpFile

Represents a Web part (.dwp) file in the package.

System_CAPS_pubinterfaceIDwpFileCollection

Represents a collection of Web part (.dwp) files in the package.

System_CAPS_pubinterfaceIFeatureManifestReference

Represents a feature manifest file in the package.

System_CAPS_pubinterfaceIFeatureManifestReferenceCollection

Represents a collection of feature manifest files in the package.

System_CAPS_pubinterfaceIPackage

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

System_CAPS_pubinterfaceIPackageManifest

Represents a SharePoint package manifest.

System_CAPS_pubinterfaceIPermissionElement

Represents a code access security (CAS) permission.

System_CAPS_pubinterfaceIPermissionElementCollection

Represents a collection of code access security (CAS) policy permissions.

System_CAPS_pubinterfaceIPolicyItem

Represents a code access security (CAS) policy item.

System_CAPS_pubinterfaceIPolicyItemCollection

Represents a collection of code access security (CAS) policy items.

System_CAPS_pubinterfaceIProjectOutputAssembly

Represents a project output assembly included in a package.

System_CAPS_pubinterfaceIResource

Represents a resource file in the package.

System_CAPS_pubinterfaceIResourceCollection

Represents a collection of resource files in the package.

System_CAPS_pubinterfaceIRootFile

Represents a root file in the package.

System_CAPS_pubinterfaceIRootFileCollection

Represents a collection of root files in a package.

System_CAPS_pubinterfaceISafeControl

Represents a safe control in the package.

System_CAPS_pubinterfaceISafeControlCollection

Represents a collection of safe controls.

System_CAPS_pubinterfaceISiteDefinitionManifest

Represents a site definition manifest file.

System_CAPS_pubinterfaceISiteDefinitionManifestCollection

Represents a collection of site definition manifests.

System_CAPS_pubinterfaceISolutionActivationDependency

Represents an activation dependency of a SharePoint package.

System_CAPS_pubinterfaceISolutionActivationDependencyCollection

Represents a collection of packages upon which the activation of another package depends.

System_CAPS_pubinterfaceITemplateFile

Represents a template file in the package.

System_CAPS_pubinterfaceITemplateFileCollection

Represents a collection of template files in the package.

System_CAPS_pubinterfaceIWebTempFile

Represents a Web template file in the package.

System_CAPS_pubinterfaceIWebTempFileCollection

Represents a collection of Web template files in the package.

EnumerationDescription
System_CAPS_pubenumApplicationResourceType

Specifies where an application resource file is deployed on the server.

System_CAPS_pubenumDeploymentServerType

Specifies the type of server to host the package.

System_CAPS_pubenumDeploymentTarget

Specifies where an assembly is deployed on the SharePoint server.

System_CAPS_pubenumResetWebServerModeOnUpgrade

Specifies how the web server is restarted after an upgrade.

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.

Return to top
Show: