共用方式為


IExplorerNodeContext.SiteUrl 屬性

取得與此節點相關聯之 SharePoint 網站 (Microsoft.SharePoint.SPWeb) 的 URL。

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

語法

'宣告
ReadOnly Property SiteUrl As Uri
    Get
Uri SiteUrl { get; }

屬性值

型別:System.Uri
值,表示 SharePoint 網站的 URL。

.NET Framework 安全性

請參閱

參考

IExplorerNodeContext 介面

Microsoft.VisualStudio.SharePoint.Explorer 命名空間