IDeployableFile 接口

为所有可打包到 WSP 文件且可部署到 SharePoint 的文件提供基接口。 这些文件共享一组与部署相关的属性。

命名空间:  Microsoft.VisualStudio.SharePoint
程序集:  Microsoft.VisualStudio.SharePoint(在 Microsoft.VisualStudio.SharePoint.dll 中)

语法

声明
Public Interface IDeployableFile
public interface IDeployableFile

IDeployableFile 类型公开以下成员。

属性

  名称 说明
公共属性 DeploymentPath 获取或设置将在 SharePoint 中部署文件的路径,该路径相对于由 DeploymentRoot 表示的基路径。
公共属性 DeploymentRoot 获取 SharePoint 将存储文件的基路径。
公共属性 DeploymentType 获取要对文件执行的部署类型。

页首

事件

  名称 说明
公共事件 DeploymentPathChanged 在更改 DeploymentPath 时发生。
公共事件 DeploymentTypeChanged 在更改 DeploymentType 时发生。

页首

请参见

参考

Microsoft.VisualStudio.SharePoint 命名空间