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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。