共用方式為


IDwpFile.Location 屬性

取得或設定封裝內包含 Web 組件的相對位置。

命名空間:  Microsoft.VisualStudio.SharePoint.Packages
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Property Location As String
string Location { get; set; }

屬性值

型別:System.String
字串,表示封裝內 Web 組件 (.dwp) 檔案的位置。

.NET Framework 安全性

請參閱

參考

IDwpFile 介面

Microsoft.VisualStudio.SharePoint.Packages 命名空間