IApplicationResource.Location 属性

获取或设置应用程序资源文件在包含其的包中的相对位置。

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

语法

声明
Property Location As String
    Get
    Set
string Location { get; set; }

属性值

类型:System.String
一个表示资源路径的字符串。

备注

此属性是指到 WSP 文件内的资源文件的路径。 它对应于程序包清单中的 Location 特性。 Sharepoint 使用它在安装中查找 WSP 文件内的资源文件。 然后,它提取该文件,并将其复制到服务器上的适当位置。

.NET Framework 安全性

请参见

参考

IApplicationResource 接口

Microsoft.VisualStudio.SharePoint.Packages 命名空间