共用方式為


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 檔案內資源檔案的路徑。 它對應於封裝資訊清單中的位置屬性。 它會由 Sharepoint 在安裝上使用,以便尋找 WSP 檔內的資源檔。 然後就會擷取檔案,並將其複製到伺服器上適當的位置。

.NET Framework 安全性

請參閱

參考

IApplicationResource 介面

Microsoft.VisualStudio.SharePoint.Packages 命名空間