IDeployableFile.DeploymentRoot 属性

获取 SharePoint 将存储文件的基路径。

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

语法

声明
ReadOnly Property DeploymentRoot As String
    Get
string DeploymentRoot { get; }

属性值

类型:System.String
一个表示文件路径的字符串值。

备注

此值使用下面的令牌:

标记名称

说明

{SharePointRoot}

SharePoint 配置单元的根。

{FeatureName}

包含了 ProjectItem 的功能的名称。

{ClassResourcePath}

SharePoint 上的类资源路径。 此值取决于程序集是被部署到全局程序集缓存 (GAC) 还是 Web 应用程序。

.NET Framework 安全性

请参见

参考

IDeployableFile 接口

Microsoft.VisualStudio.SharePoint 命名空间